$ git --version --build-options
2.16.3.windows.1
$ cmd.exe /c ver
Microsoft Windows [Version 6.1.7601]
# 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
Editor Option: Notepad++
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
No
CMD
git status
On branch develop
Your branch is up to date with 'origin/develop'.
Changes not staged for commit:
(use "git add
(use "git checkout --
(commit or discard the untracked or modified content in submodules)
warning: failed to restrict file handles (1450)
warning: failed to restrict file handles (1450)
On branch develop
Your branch is up to date with 'origin/develop'.
Changes not staged for commit:
(use "git add
(use "git checkout --
(commit or discard the untracked or modified content in submodules)
Private repos with submodules and also without submodules.
git pull and git fetch also display the same warning message.
Does the latest snapshot work for you? (There has been a fix for this exact symptom...) Please find the snapshots here: https://wingit.blob.core.windows.net/files/index.html
The latest snapshot seems to be working.
The https://wingit.blob.core.windows.net/files/Git-prerelease-2.16.3.windows.1.1.gf2a677fb4d-64-bit.exe does not have this problem.
@cobrabr @dkjkj excellent! Thank you so much for testing.
$ git push
warning: failed to restrict file handles (5)
handle #0: 00000000000002e8 (type 3, handle info (1) 0
handle #1: 00000000000002ec (type 2, handle info (1) 1
handle #2: 0000000000000194 (type 3, handle info (1) 1
This is a bug; please report it at
https://github.com/git-for-windows/git/issues/new
To suppress this warning, please set the environment variable
SUPPRESS_HANDLE_INHERITANCE_WARNING=1
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 2.43 KiB | 2.43 MiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
...................
$ git version
git version 2.21.0.windows.1
@orient33 what is your Windows version?
@orient33 what is your Windows version?
window 10
Microsoft Windows [鐗堟湰 10.0.17134.829]
$ cat /d/pro/Git/etc/install-options.txt
Editor Option: VIM
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: LFOnly
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Disabled
Enable Symlinks: Disabled
Enable Builtin Interactive Add: Disabled
@orient33 does this happen with all pushes? Does it also happen if you call this from a PowerShell?
Most helpful comment
Does the latest snapshot work for you? (There has been a fix for this exact symptom...) Please find the snapshots here: https://wingit.blob.core.windows.net/files/index.html