Error after calling git difftool -d with

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear,

Incase filenames are used with a quote ' or a bracket [ (and maybe some more characters), git "diff" and "difftool -y" works fine, but git *difftool **-d* gives the next error message:

   peter@scm_ws_10 MINGW64 /d/Dev/test (master)
   $ git diff
   diff --git a/Test ''inch.txt b/Test ''inch.txt
   index dbff793..41f3257 100644
   --- a/Test ''inch.txt
   +++ b/Test ''inch.txt
   @@ -1 +1,3 @@
   +
   +ddd
     Test error in simple repository
   warning: LF will be replaced by CRLF in Test ''inch.txt.
   The file will have its original line endings in your working directory.

   peter@scm_ws_10 MINGW64 /d/Dev/test (master)
   *$ git difftool -d*
   *fatal: Cannot open '/d/Dev/test//Test ''inch.txt': No such file or
   directory*
   *hash-object /d/Dev/test//Test ''inch.txt: command returned error: 128*

   peter@scm_ws_10 MINGW64 /d/Dev/test (master)
   $


This issue is inside V2.10.x and V2.11.0.
V2.9.0 is working correctly...

I am using git for windows and beyond compare 4.0 as difftool.

Best regards,

Peter

<<attachment: IssueWithFiles.zip>>


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]