From: Felipe Contreras Date: Fri, 11 Apr 2014 17:59:04 GMT Subject: [PATCH v3 1/8] t5516 (fetch-push): fix test restoration Message-ID: <1397239151-2391-2-git-send-email-felipe.contreras@gmail.com> In-Reply-To: <1397239151-2391-1-git-send-email-felipe.contreras@gmail.com> We shouldn't modify the commits; it screws the following tests. Signed-off-by: Felipe Contreras --- t/t5516-fetch-push.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index 67e0ab3..f4cf0db 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 -- 1.9.1+fc1