I can't seem to get `git commit to work with an external editor on Windows.
The editor opens, but git bash doesn't wait for it to close. 

The hard part is properly quoting the string in .gitconfig

Here are some things I've tried, and what they produce.

1. editor =  Notepad++ -w
OR editor =  'Notepad++ -w'
Outcome:  There was a problem with the editor 'Notepad++ -w'

2. editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe'
Outcome: N++ opens COMMIT_EDITMSG but when N++ is already open, gitbash 
hangs until N++ is fully closed

3. editor = 'C:/Program Files/Just Great Software/EditPad Pro 
7/EditPadPro7.exe'
Outcome: EPP opens COMMIT_EDITMSG but git bash aborts with this message:
Aborting commit due to empty commit message.

4. editor = 'C:/Program Files/Just Great Software/EditPad Pro 
7/EditPadPro7.exe'
Outcome: EPP opens COMMIT_EDITMSG AND a file called 'wait'

5. editor = 'C:/Program Files/Just Great Software/EditPad Pro 
7/EditPadPro7.exe --wait'
OR
editor = '"C:/Program Files/Just Great Software/EditPad Pro 
7/EditPadPro7.exe" --wait'
Outcome: No such file or directory

Is anyone here successful getting *git commit* to work with a decent editor 
on Windows?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to