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.14.1.windows.1
built from commit: 82d9b3f3b2407b52251620597d4b14933685459d
sizeof-long: 4
machine: x86_64
- 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.15063]
- 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"
$ cat /etc/install-options.txt
Path Option: BashOnly
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Nothing I can think of.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Git bash (MinGW64)
- 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.
Clone some repository (was able to repro on any freshly cloned repo)
$ git clone <some repo>
Modifiy some file
$ echo "test" >> README.md
Add it
$ git add README.md
warning: unable to access '': Invalid argument
File is added, no problem, but this warning is always shown after adding a file
$ git status
warning: unable to access '': Invalid argument
On branch master
Your branch is up-to-date with 'origin/master'.
$ git reset README.md
warning: unable to access '': Invalid argument
Unstaged changes after reset:
M README.md
Changes to be committed:
modified: README.md
- What did you expect to occur after running these commands?
No warning
- What actually happened instead?
Warning:
warning: unable to access '': Invalid argument
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
No specific repository