msysgit - Windows git difftool cannot parse extcmd path with spaces -


in windows, git msys command line, run command:

git difftool --extcmd=/c/program files/beyond compare 4/bcomp.exe -- file_to_diff.ext 

i'm struggling have extcmd parameter parsed correctly.

i found correct way write command:

 git difftool -y --extcmd="'/c/program files/beyond compare 4/bcomp.exe'" -- file_to_diff.ext 

notice double quotes followed single quotes.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -