Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
git version 2.36.0.windows.1.6.ga8150f0d2f.20220422215518
cpu: x86_64
built from commit: a8150f0d2fd0a2229b25dac6b0285215d5aa0801
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
- 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.22598.200]
- What options did you set as part of the installation? Or did you choose the
defaults?
Editor Option: VIM
Custom Editor Path:
Default Branch Option: master
Path Option: Cmd
SSH Option: ExternalOpenSSH
Tortoise Option: false
CURL Option: WinSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: ConHost
Git Pull Behavior Option: Rebase
Use Credential Manager: Disabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable Pseudo Console Support: Enabled
Enable FSMonitor: Enabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Using PowerShell core and Windows Terminal as environment.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Using Windows Terminal with PowerShell core 7.2.2.
> $PSVersionTable
Name Value
---- -----
PSVersion 7.2.2
PSEdition Core
GitCommitId 7.2.2
OS Microsoft Windows 10.0.22598
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
As discussed in #3629, for which this is a followup:
$env:EDITOR = 'C:\tools\neovim\Neovim\bin\nvim.exe'
git commit -a --verbose --signoff -S
- What did you expect to occur after running these commands?
Git to start editor for editing commit message.
- What actually happened instead?
hint: Waiting for your editor to close the file... C:\tools\neovim\Neovim\bin\nvim.exe: C:toolsneovimNeovimbinnvim.exe: command not found
error: There was a problem with the editor 'C:\tools\neovim\Neovim\bin\nvim.exe'.
Please supply the message using either -m or -F option.
Workaround for now:
$env:EDITOR = '''C:\tools\neovim\Neovim\bin\nvim.exe'''
this encloses the path in single quotes, which works fine in Git bash.
Setup
defaults?
to the issue you're seeing?
Using PowerShell core and Windows Terminal as environment.
Details
Using Windows Terminal with PowerShell core 7.2.2.
Minimal, Complete, and Verifiable example
this will help us understand the issue.
As discussed in #3629, for which this is a followup:
Git to start editor for editing commit message.
Workaround for now:
this encloses the path in single quotes, which works fine in Git bash.