[PATCH 3/7] t2105 (gitfile): add missing &&
Make sure early failures are not masked by later successes.
Cc: Brad King <brad.king@kitware.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
t/t2105-update-index-gitfile.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t2105-update-index-gitfile.sh b/t/t2105-update-index-gitfile.sh
index 641607d..a7f3d47 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)
'
--
1.7.2.3