Merge branch 'js/no-curl-easy-strerror-on-old-curl'
[gitweb.git] / sequencer.c
index bf078f274bfe23997fcd1bc8c2a1c958f39ac9fe..1ea5293f6ed5395b95fbf63fc41aa28c33db0fa8 100644 (file)
@@ -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;