summaryrefslogtreecommitdiff
path: root/t/t9114-git-svn-dcommit-merge.sh
diff options
context:
space:
mode:
authorJens Lehmann <Jens.Lehmann@web.de>2010-09-06 18:39:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-09-06 21:30:53 (GMT)
commitfd4ec4f2bb980ce07bb28d5823a95610f251d00b (patch)
tree824a488c7708e4271f157f15c760947890a2e0bc /t/t9114-git-svn-dcommit-merge.sh
parentaf24059fa299f1656692f5807eddd3b30b5f3cfb (diff)
downloadgit-fd4ec4f2bb980ce07bb28d5823a95610f251d00b.zip
git-fd4ec4f2bb980ce07bb28d5823a95610f251d00b.tar.gz
git-fd4ec4f2bb980ce07bb28d5823a95610f251d00b.tar.bz2
Several tests: cd inside subshell instead of around
Fixed all places where it was a straightforward change from cd'ing into a directory and back via "cd .." to a cd inside a subshell. Found these places with "git grep -w "cd \.\.". Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9114-git-svn-dcommit-merge.sh')
-rwxr-xr-xt/t9114-git-svn-dcommit-merge.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t9114-git-svn-dcommit-merge.sh b/t/t9114-git-svn-dcommit-merge.sh
index 84f7c9b..a7d0c7d 100755
--- a/t/t9114-git-svn-dcommit-merge.sh
+++ b/t/t9114-git-svn-dcommit-merge.sh
@@ -37,11 +37,11 @@ EOF
test_expect_success 'setup svn repository' '
svn_cmd co "$svnrepo" mysvnwork &&
mkdir -p mysvnwork/trunk &&
- cd mysvnwork &&
+ (cd mysvnwork &&
big_text_block >> trunk/README &&
svn_cmd add trunk &&
- svn_cmd ci -m "first commit" trunk &&
- cd ..
+ svn_cmd ci -m "first commit" trunk
+ )
'
test_expect_success 'setup git mirror and merge' '