Merge branch 'ab/racy-hooks'

Regression fix.

* ab/racy-hooks:
  hooks: fix "invoked hook" regression in a8cc594333
This commit is contained in:
Junio C Hamano 2022-03-30 18:01:10 -07:00
commit cb3b3974b3
1 changed files with 1 additions and 0 deletions

View File

@ -1742,5 +1742,6 @@ int run_commit_hook(int editor_is_used, const char *index_file,
strvec_push(&opt.args, arg);
va_end(args);
opt.invoked_hook = invoked_hook;
return run_hooks_opt(name, &opt);
}