Thread (581 messages) flat view 581 messages, 16 authors, 2021-10-12

Re: [PATCH 30/31] hooks: fix a TOCTOU in "did we run a hook?" heuristic

From: Bagas Sanjaya <hidden>
Date: 2021-05-28 12:48:17

On 28/05/21 19.11, Ævar Arnfjörð Bjarmason wrote:
Let's also change this for the push-to-checkout hook. Now instead of
checking if the hook exists and either doing a push to checkout or a
push to deploy we'll always attempt a push to checkout. If the hook
doesn't exist we'll fall back on push to deploy. The same behavior as
before, without the TOCTOU race. See 0855331941b (receive-pack:
support push-to-checkout hook, 2014-12-01) for the introduction of the
previous behavior.
What is TOCTOU? I never hear this term before.

-- 
An old man doll... just what I always wanted! - Clara
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help