Code

Merge branch 'cb/leading-path-removal'
[git.git] / t / t7001-mv.sh
index 624e6d25de0b978c839714c7abeeec563f3c42d8..a845b154e4db50b52eb67eaefefcc42403c52c0e 100755 (executable)
@@ -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 &&