Merge branch 'cb/clear-quarantine-early-on-all-ref-update-errors'
commit867b520301cc5e719b575edde7736ebe70a19298
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Feb 2022 21:53:27 +0000 (18 13:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Feb 2022 21:53:27 +0000 (18 13:53 -0800)
tree518a7677382c18be1913971a955311babd9dfe9d
parente2ac9141e64e2cd3e690d1b5fc848949827c09b4
parent540776406974dfcacb77e94a42f4bdfd4b15b4fe
Merge branch 'cb/clear-quarantine-early-on-all-ref-update-errors'

"receive-pack" checks if it will do any ref updates (various
conditions could reject a push) before received objects are taken
out of the temporary directory used for quarantine purposes, so
that a push that is known-to-fail will not leave crufts that a
future "gc" needs to clean up.

* cb/clear-quarantine-early-on-all-ref-update-errors:
  receive-pack: purge temporary data if no command is ready to run
builtin/receive-pack.c
t/t5516-fetch-push.sh