Skip to content

Commit cb3b397

Browse files
committed
Merge branch 'ab/racy-hooks'
Regression fix. * ab/racy-hooks: hooks: fix "invoked hook" regression in a8cc594
2 parents 805e0a6 + 4369e3a commit cb3b397

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,5 +1742,6 @@ int run_commit_hook(int editor_is_used, const char *index_file,
17421742
strvec_push(&opt.args, arg);
17431743
va_end(args);
17441744

1745+
opt.invoked_hook = invoked_hook;
17451746
return run_hooks_opt(name, &opt);
17461747
}

0 commit comments

Comments
 (0)