tests: subshell indentation stylefix

Format the subshells introduced by the previous patch (Several tests:
cd inside subshell instead of around, 2010-09-06) like so:

	(
		cd subdir &&
		...
	) &&

This is generally easier to read and has the nice side-effect that
this patch will show what commands are used in the subshell, making
it easier to check for lost environment variables and similar
behavior changes.

Cc: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonathan Nieder
2010-09-06 20:42:54 -05:00
committed by Junio C Hamano
parent 347c47e61e
commit 18a8269242
22 changed files with 260 additions and 192 deletions

View File

@ -6,9 +6,10 @@ test_description='git svn commit-diff'
test_expect_success 'initialize repo' '
mkdir import &&
(cd import &&
echo hello > readme &&
svn_cmd import -m "initial" . "$svnrepo"
(
cd import &&
echo hello >readme &&
svn_cmd import -m "initial" . "$svnrepo"
) &&
echo hello > readme &&
git update-index --add readme &&