1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-04-18 04:33:53 +02:00

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

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);
}