Re: Odd "git diff" breakage
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Mar 31, 2014, 18:35 UTC
- Message-ID
- <CA+55aFzjqsMzQxAJAK0DUM0DepE_qQSzSXyN=i9juUyzySM8oQ@mail.gmail.com>
- In-Reply-To
- <xmqq7g7a6x0g.fsf@gitster.dls.corp.google.com>
On Mon, Mar 31, 2014 at 11:30 AM, Junio C Hamano <gitster@pobox.com> wrote:
> > Hmph, interesting. "outside a repository" is the key, it seems.
Well, you can do it inside a repository too, but then you need to use the "--no-index" flag to get the "diff two files" behavior. It will result in the same infinite error messages.
Linus