]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.h
Fix some printf format warnings
[thirdparty/git.git] / revision.h
index fb74492714b9276d02992dbe1101efff2cbdb5e6..9d0dddbcbc981c60fd1348cdf257c67fb9ee5f84 100644 (file)
@@ -15,6 +15,9 @@
 #define SYMMETRIC_LEFT (1u<<8)
 #define ALL_REV_FLAGS  ((1u<<9)-1)
 
+#define DECORATE_SHORT_REFS    1
+#define DECORATE_FULL_REFS     2
+
 struct rev_info;
 struct log_info;
 
@@ -165,6 +168,7 @@ enum commit_action {
        commit_error
 };
 
+extern enum commit_action get_commit_action(struct rev_info *revs, struct commit *commit);
 extern enum commit_action simplify_commit(struct rev_info *revs, struct commit *commit);
 
 #endif