summaryrefslogtreecommitdiff
path: root/t/t7001-mv.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-10-31 07:30:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-09 22:45:22 (GMT)
commit2dec68cf8fec760930c3bc9d13beb17e381d70a3 (patch)
treefb6354e2071434ba8d2e64bc90c8087d0da8c29e /t/t7001-mv.sh
parenta48fcd836971d065b9bf16b8cd046fd1aff9b279 (diff)
downloadgit-2dec68cf8fec760930c3bc9d13beb17e381d70a3.zip
git-2dec68cf8fec760930c3bc9d13beb17e381d70a3.tar.gz
git-2dec68cf8fec760930c3bc9d13beb17e381d70a3.tar.bz2
tests: add missing &&, batch 2
Same rules as before: this patch only adds " &&" to the end of some lines in the test suite. Intended to be applied on top of or squashed with the last batch if they look okay. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7001-mv.sh')
-rwxr-xr-xt/t7001-mv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index 624e6d2..a845b15 100755
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
@@ -207,7 +207,7 @@ test_expect_success 'git mv should not change sha1 of moved cache entry' '
git init &&
echo 1 >dirty &&
git add dirty &&
- entry="$(git ls-files --stage dirty | cut -f 1)"
+ entry="$(git ls-files --stage dirty | cut -f 1)" &&
git mv dirty dirty2 &&
[ "$entry" = "$(git ls-files --stage dirty2 | cut -f 1)" ] &&
echo 2 >dirty2 &&