diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2014-04-11 12:59:04 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-11 13:23:37 -0700 |
commit | 67f9dc65f8ac6fcc717f7280e2d91d42d8b15c1c (patch) | |
tree | ea75619098abca0266c36a6c2f072dc152aba363 | |
parent | 68773ac915580e88016c34ce1269730382b501d4 (diff) | |
download | git-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-x | t/t5516-fetch-push.sh | 2 |
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 |