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

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

github - Git errors while pushing -

java - Generating a pre-signed PUT url for Amazon S3 with a maximum content-length -