diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-16 14:38:47 -0700 |
commit | 3ea673799368524f3ec5f671f588a07554c61576 (patch) | |
tree | f12a6c68bc56da1249b762e18b20aa455d7daa58 /t/t3050-subprojects-fetch.sh | |
parent | t2000-t2999: fix broken &&-chains (diff) | |
download | tgif-3ea673799368524f3ec5f671f588a07554c61576.tar.xz |
t3000-t3999: fix broken &&-chains
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3050-subprojects-fetch.sh')
-rwxr-xr-x | t/t3050-subprojects-fetch.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t3050-subprojects-fetch.sh b/t/t3050-subprojects-fetch.sh index 2f5f41a012..f1f09abdd9 100755 --- a/t/t3050-subprojects-fetch.sh +++ b/t/t3050-subprojects-fetch.sh @@ -21,10 +21,10 @@ test_expect_success setup ' test_expect_success clone ' git clone "file://$(pwd)/.git" cloned && - (git rev-parse HEAD; git ls-files -s) >expected && + (git rev-parse HEAD && git ls-files -s) >expected && ( cd cloned && - (git rev-parse HEAD; git ls-files -s) >../actual + (git rev-parse HEAD && git ls-files -s) >../actual ) && test_cmp expected actual ' @@ -40,11 +40,11 @@ test_expect_success advance ' ' test_expect_success fetch ' - (git rev-parse HEAD; git ls-files -s) >expected && + (git rev-parse HEAD && git ls-files -s) >expected && ( cd cloned && git pull && - (git rev-parse HEAD; git ls-files -s) >../actual + (git rev-parse HEAD && git ls-files -s) >../actual ) && test_cmp expected actual ' |