tests: push: improve cleanup of HEAD tests
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 26 Nov 2020 00:16:14 +0000 (18:16 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Nov 2020 21:57:54 +0000 (13:57 -0800)
commit12a30a3ea65f1d27698927c5a871935f6c1223f9
treec9b74de951419c2b510a6b2c5935ce2113cd441c
parentb291b0a628020eedb10b6236d87fe25d295cea81
tests: push: improve cleanup of HEAD tests

So that we are not left in an inconsistent state between them.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5516-fetch-push.sh