summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-03-31 03:01:10 +0200
committerJunio C Hamano <gitster@pobox.com>2022-03-31 03:01:10 +0200
commitcb3b3974b3321522b1c5c61d358d1259f19aae29 (patch)
tree18cf207785a37d2ec354af163a8eb364e9faa8d1 /commit.c
parentThe 16th batch (diff)
parenthooks: fix "invoked hook" regression in a8cc5943338 (diff)
downloadgit-cb3b3974b3321522b1c5c61d358d1259f19aae29.tar.xz
git-cb3b3974b3321522b1c5c61d358d1259f19aae29.zip
Merge branch 'ab/racy-hooks'
Regression fix. * ab/racy-hooks: hooks: fix "invoked hook" regression in a8cc5943338
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.c b/commit.c
index ffcc4a97cd..59b6c3e455 100644
--- a/commit.c
+++ b/commit.c
@@ -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);
}