forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
git version 2.38.1.windows.1
cpu: x86_64
built from commit: b85c8f604d375d4d773a36842964e8a7ec056aae
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.19044.2251]
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
- What options did you set as part of the installation? Or did you choose the
defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
> type "$env:USERPROFILE\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: VIM
Custom Editor Path:
Default Branch Option:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Disabled
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Not aware of anything relevant.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
ConEmu. Reproducible in Git Bash, Powershell.
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
git status
- What did you expect to occur after running these commands?
Expected git status
output, starting with On branch main
etc.
- What actually happened instead?
The git status
output is prefixed by warnings:
$ git status
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
warning: encountered old-style '/home/' that should be '%(prefix)//home/'
warning: encountered old-style '/Users/' that should be '%(prefix)//Users/'
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
...
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
Affects all the repos.
Metadata
Metadata
Assignees
Labels
No labels