X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=revision.h;h=9d0dddbcbc981c60fd1348cdf257c67fb9ee5f84;hb=5322ef2006cc93ad76140ff742cd96e74c1ec09b;hp=fb74492714b9276d02992dbe1101efff2cbdb5e6;hpb=f00ecbe42b82f3c8e6a170074f2299487026e400;p=thirdparty%2Fgit.git diff --git a/revision.h b/revision.h index fb74492714..9d0dddbcbc 100644 --- a/revision.h +++ b/revision.h @@ -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