]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cb/clear-quarantine-early-on-all-ref-update-errors'
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Feb 2022 21:53:27 +0000 (13:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Feb 2022 21:53:27 +0000 (13:53 -0800)
"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

1  2 
builtin/receive-pack.c
t/t5516-fetch-push.sh

Simple merge
Simple merge