Re: [PATCH v2] diff: don't read index when --no-index is given
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Dec 9, 2013, 20:55 UTC
- Message-ID
- <52A62E4B.8080001@web.de>
- In-Reply-To
- <1386621634-25444-1-git-send-email-t.gummerer@gmail.com>
On 2013-12-09 21.40, Thomas Gummerer wrote:
Show 5 quoted lines
> > +test_expect_success 'git diff --no-index with broken index' ' > + cd repo && > + echo broken >.git/index && > + git diff --no-index a ../non/git/a &&
^^ I'm confused: Does this work with the trailing && ?
(and when we use "cd repo" it could be good to use a sub-shell (even when this is the last test case)