git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error after calling git difftool -d with
@ 2016-12-02 12:15 P. Duijst
  2016-12-02 16:05 ` Johannes Schindelin
  0 siblings, 1 reply; 6+ messages in thread
From: P. Duijst @ 2016-12-02 12:15 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

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 #2: IssueWithFiles.zip --]
[-- Type: application/zip, Size: 13922 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-09  9:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 12:15 Error after calling git difftool -d with P. Duijst
2016-12-02 16:05 ` Johannes Schindelin
2016-12-05  5:15   ` David Aguilar
2016-12-05  7:58     ` P. Duijst
2016-12-05 10:56       ` Johannes Schindelin
2016-12-09  9:47         ` David Aguilar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).