commit: use generations in paint_down_to_common()
[gitweb.git] / commit.h
index aac3b8c56faf4b82199fb7d7763aad06f2e4e32f..64436ff44e6b6e57074940d4c0c34af5c91da59f 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -341,6 +341,7 @@ extern int remove_signature(struct strbuf *buf);
 extern int check_commit_signature(const struct commit *commit, struct signature_check *sigc);
 
 int compare_commits_by_commit_date(const void *a_, const void *b_, void *unused);
+int compare_commits_by_gen_then_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, ...);