commit: fix patch hunk editing with "commit -p -m"
[gitweb.git] / commit.h
index 16d9c4351395ac55d6856d8d92d24ce7064df974..8d97a5caa3bd3ff5686f68998102527a3876bc4f 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -304,4 +304,7 @@ extern void check_commit_signature(const struct commit* commit, struct signature
 
 int compare_commits_by_commit_date(const void *a_, const void *b_, void *unused);
 
+LAST_ARG_MUST_BE_NULL
+extern int run_commit_hook(int editor_is_used, const char *index_file, const char *name, ...);
+
 #endif /* COMMIT_H */