From: Matthieu Moy Date: Thu, 09 Jan 2014 13:25:06 GMT Subject: Re: [PATCH] merge: make merge state available to prepare-commit-msg hook Message-ID: In-Reply-To: <20140108220119.GN3881@google.com> Jonathan Nieder writes: > Matthieu Moy wrote: > >> Jonathan's answer is an option. Another one is > [...] >> So if the cleanup goes wrong, one can notice. > > test_when_finished also makes the test fail if the cleanup failed. Yes, I was mentionning it as opposed to "throwing the code at the toplevel of the shell", not as opposed to test_when_finished. -- Matthieu Moy http://www-verimag.imag.fr/~moy/