]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ab/racy-hooks'
authorJunio C Hamano <gitster@pobox.com>
Thu, 17 Mar 2022 00:53:09 +0000 (17:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Mar 2022 00:53:09 +0000 (17:53 -0700)
Code clean-up to allow callers of run_commit_hook() to learn if it
got "success" because the hook succeeded or because there wasn't
any hook.

* ab/racy-hooks:
  hooks: fix an obscure TOCTOU "did we just run a hook?" race
  merge: don't run post-hook logic on --no-verify

1  2 
builtin/receive-pack.c
commit.c

Simple merge
diff --cc commit.c
Simple merge