git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "P. Duijst" <p.duijst@gmail.com>
To: git@vger.kernel.org
Subject: Error after calling git difftool -d with
Date: Fri, 2 Dec 2016 13:15:39 +0100	[thread overview]
Message-ID: <5f630c90-cf54-3a23-c9a9-af035d4514e0@gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2016-12-02 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 12:15 P. Duijst [this message]
2016-12-02 16:05 ` Error after calling git difftool -d with 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f630c90-cf54-3a23-c9a9-af035d4514e0@gmail.com \
    --to=p.duijst@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).