Subject: Re: [PATCH v2] diff: don't read index when --no-index is given

From: Torsten Bögershausen <[email-masked]>
Date: Mon, 09 Dec 2013 21:55:39 +0100

On 2013-12-09 21.40, Thomas Gummerer wrote:
>  
> +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)