Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
git version 2.27.0.windows.1
64 bit.
I recently upgraded the git version, but the issue was reproducible on older versions as well.
$ git --version --build-options
git version 2.27.0.windows.1
cpu: x86_64
built from commit: 907ab1011dce9112700498e034b974ba60f8b407
sizeof-long: 4
sizeof-size_t: 8
- 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.18363.836
- 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
type "C:\Program Files\Git\etc\install-options.txt"
Editor Option: VIM
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
Enable Pseudo Console Support: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Nothing interesting.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
CMD
In a new branch, simply
notepad++ a.txt
git add -N a.txt
git difftool -d
- What did you expect to occur after running these commands?
No crash, and that git would open my difftool with the diff of the file
- What actually happened instead?
d:\RoutingPlane\sources\dev\CAFE\NanoProxy>git difftool -d
error: unable to read sha1 file of C:\Users\sakul\AppData\Local\Temp\git-difftool.a32148/right/build/configuration/public/xml/a.txt (4b825dc642cb6eb9a060e54bf8d69288fbee4904)
error: could not write 'build/configuration/public/xml/a.txt'
Crash dialog saying Git for Windows has stopped working
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
Not specific to the repository
Setup
git version 2.27.0.windows.1
64 bit.
I recently upgraded the git version, but the issue was reproducible on older versions as well.
defaults?
to the issue you're seeing?
Nothing interesting.
Details
CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
No crash, and that git would open my difftool with the diff of the file
Crash dialog saying Git for Windows has stopped working
URL to that repository to help us with testing?
Not specific to the repository