Re: issue: strange `git diff --numstat` behavior.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 13, 2018, 08:13 UTC
- Message-ID
- <xmqqr2gu8dsx.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAD1gVxMg0ZiKqFABrnwt0v_=wr2X_3ErkR92RmCAtFQnuM+L5w@mail.gmail.com>
Sergey Andreenko <andreenkosa@gmail.com> writes:
Show 10 quoted lines
> git.exe diff --numstat "C:\diff" "C:\base"
> ...
> output will be:
>
> 0 1 {iff => ase}/1.txt
>
> So (folder_name_length) symbols were cut from the path (“C:\\d” and “C:\\b”).
>
> Is any way to avoid that? I have checked several git versions and they
> all do the same.Not an attempt to offer a solution (I don't do windows), but just trying to see what random things we can try, I wonder what you'd get if you did something like
$ git diff --numstat //c/diff //c/base