sequencer: reset the committer date before commits
[gitweb.git] / sequencer.c
index f9d1001dee9ad10e243aaeafc46fbdd13597fce7..f0bac903a0ddafae7498b15d9130a6953f29246b 100644 (file)
@@ -1148,6 +1148,8 @@ static int try_to_commit(struct strbuf *msg, const char *author,
                goto out;
        }
 
+       reset_ident_date();
+
        if (commit_tree_extended(msg->buf, msg->len, &tree, parents,
                                 oid, author, opts->gpg_sign, extra)) {
                res = error(_("failed to write commit object"));