Permalink
Browse files

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>
  • Loading branch information...
1 parent dbedf8b commit 76bbcd4382797dedb72a50387111a65d88230fa9 @jrn jrn committed with gitster Sep 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)
'

0 comments on commit 76bbcd4

Please sign in to comment.