summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2014-04-11 12:59:04 -0500
committerJunio C Hamano <gitster@pobox.com>2014-04-11 13:23:37 -0700
commit67f9dc65f8ac6fcc717f7280e2d91d42d8b15c1c (patch)
treeea75619098abca0266c36a6c2f072dc152aba363
parent68773ac915580e88016c34ce1269730382b501d4 (diff)
downloadgit-67f9dc65f8ac6fcc717f7280e2d91d42d8b15c1c.tar.gz
t5516 (fetch-push): fix test restoration
We shouldn't modify the commits; it screws the following tests. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t5516-fetch-push.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 67e0ab3462..f4cf0dbd48 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -1261,6 +1261,8 @@ test_expect_success 'push --follow-tag only pushes relevant tags' '
'
test_expect_success 'push --no-thin must produce non-thin pack' '
+ test_when_finished "git reset --hard v1.0" &&
+
cat >>path1 <<\EOF &&
keep base version of path1 big enough, compared to the new changes
later, in order to pass size heuristics in