git - Why does msysgit sometimes try to open the (non-existent) file "$@"? -


i'm using msysgit on windows, , occasionally, when should open editor allow me edit commit message or something, tries open file called $@ instead. file doesn't exist, notepad++ says "the file '$@' doesn't exist; create it?"

my .git/config looks like:

[core]     editor = c:/program\\ files/notepad++/notepad++.exe 

i had same problem too. have tried write string in different ways. i've found right variant.

[core] editor = 'c:/program\\ files/notepad++/notepad++.exe' -multiinst -notabbar -nosession -noplugin 

the single quotes must presented. don't know why or how, works (in case). may explain reason of such behavior. hope comment helpfull.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -