aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-09-06 20:49:10 -0500
committerJunio C Hamano <gitster@pobox.com>2010-09-09 15:58:45 -0700
commit76bbcd4382797dedb72a50387111a65d88230fa9 (patch)
tree37b33b176565f49c0bccd867433639a4cf565e1a
parentdbedf8bf42f63847b096aeb7d6b96cf3a2233b7a (diff)
downloadgit-76bbcd4382797dedb72a50387111a65d88230fa9.tar.gz
git-76bbcd4382797dedb72a50387111a65d88230fa9.tar.xz
t2105 (gitfile): add missing &&
Make sure early failures are not masked by later successes. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Acked-by: Brad King <brad.king@kitware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t2105-update-index-gitfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2105-update-index-gitfile.sh b/t/t2105-update-index-gitfile.sh
index 641607d89..a7f3d47ae 100755
--- a/t/t2105-update-index-gitfile.sh
+++ b/t/t2105-update-index-gitfile.sh
@@ -13,7 +13,7 @@ test_expect_success 'submodule with absolute .git file' '
(cd sub1 &&
git init &&
REAL="$(pwd)/.real" &&
- mv .git "$REAL"
+ mv .git "$REAL" &&
echo "gitdir: $REAL" >.git &&
test_commit first)
'