X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=commit.h;h=6738a696d7d7861188873cf7f7279bc8c19545d5;hb=d5a6aafc90a14382120727e4e81ee1a380e8b194;hp=5d179d4dc891947e1f8421184f1030bfda245cf7;hpb=2b64f88f09ae2169ec85652b46897574e352936d;p=git.git diff --git a/commit.h b/commit.h index 5d179d4d..6738a696 100644 --- a/commit.h +++ b/commit.h @@ -17,10 +17,13 @@ struct commit { char *buffer; }; +extern int save_commit_buffer; extern const char *commit_type; struct commit *lookup_commit(const unsigned char *sha1); struct commit *lookup_commit_reference(const unsigned char *sha1); +struct commit *lookup_commit_reference_gently(const unsigned char *sha1, + int quiet); int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size); @@ -40,6 +43,7 @@ enum cmit_fmt { CMIT_FMT_DEFAULT = CMIT_FMT_MEDIUM, CMIT_FMT_SHORT, CMIT_FMT_FULL, + CMIT_FMT_FULLER, CMIT_FMT_ONELINE, };