Browse Source

Merge branch 'ab/racy-hooks'

Regression fix.

* ab/racy-hooks:
  hooks: fix "invoked hook" regression in a8cc594333
maint
Junio C Hamano 3 years ago
parent
commit
cb3b3974b3
  1. 1
      commit.c

1
commit.c

@ -1742,5 +1742,6 @@ int run_commit_hook(int editor_is_used, const char *index_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);
}

Loading…
Cancel
Save