Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Draft release notes to 1.8.0
[gitweb.git]
/
sequencer.c
diff --git
a/sequencer.c
b/sequencer.c
index bd626806d64b9cd9a814f062d092501315546bdf..f86f116a15326f514fbe0405a9301f4ee2416344 100644
(file)
--- a/
sequencer.c
+++ b/
sequencer.c
@@
-311,6
+311,9
@@
static int run_git_commit(const char *defmsg, struct replay_opts *opts,
if (allow_empty)
argv_array_push(&array, "--allow-empty");
+ if (opts->allow_empty_message)
+ argv_array_push(&array, "--allow-empty-message");
+
rc = run_command_v_opt(array.argv, RUN_GIT_CMD);
argv_array_clear(&array);
return rc;