X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=4c05864fb426d61a652f7df12c13315665972846;hb=1689c5de8730ea334535337a341db3c7a21ad002;hp=d163c7487b0dd65d6c0cc9cb568c3ae44e30726d;hpb=d6096f17d2d5d9ccb453aabf8edc6ee238b166fc;p=git.git diff --git a/commit.h b/commit.h index d163c7487..4c05864fb 100644 --- a/commit.h +++ b/commit.h @@ -67,7 +67,8 @@ extern int non_ascii(int); struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */ extern void get_commit_format(const char *arg, struct rev_info *); extern void format_commit_message(const struct commit *commit, - const void *format, struct strbuf *sb); + const void *format, struct strbuf *sb, + enum date_mode dmode); extern void pretty_print_commit(enum cmit_fmt fmt, const struct commit*, struct strbuf *, int abbrev, const char *subject, @@ -117,7 +118,6 @@ struct commit_graft { struct commit_graft *read_graft_line(char *buf, int len); int register_commit_graft(struct commit_graft *, int); -int read_graft_file(const char *graft_file); struct commit_graft *lookup_commit_graft(const unsigned char *sha1); extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *rev2, int cleanup);