X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=revision.h;h=b6421a64321168237443ecb7e56e6b0765256c8b;hb=ae4efe195752c27cb25fca9451852c0f4eebdb28;hp=fb74492714b9276d02992dbe1101efff2cbdb5e6;hpb=3125be17d66e65c854249fb6a0c05322798593fe;p=git.git diff --git a/revision.h b/revision.h index fb7449271..b6421a643 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; @@ -78,7 +81,8 @@ struct rev_info { show_merge:1, abbrev_commit:1, use_terminator:1, - missing_newline:1; + missing_newline:1, + date_mode_explicit:1; enum date_mode date_mode; unsigned int abbrev; @@ -165,6 +169,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