]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sequencer.h
commit: move print_commit_summary() to libgit
[thirdparty/git.git] / sequencer.h
index ec13b679c40dc4012a84a761ea856d6e75953490..4f616c61a3f3869daf9f427b978c308d6094a978 100644 (file)
@@ -75,4 +75,9 @@ int update_head_with_reflog(const struct commit *old_head,
                            struct strbuf *err);
 void commit_post_rewrite(const struct commit *current_head,
                         const struct object_id *new_head);
+
+#define SUMMARY_INITIAL_COMMIT   (1 << 0)
+#define SUMMARY_SHOW_AUTHOR_DATE (1 << 1)
+void print_commit_summary(const char *prefix, const struct object_id *oid,
+                         unsigned int flags);
 #endif