X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=commit.h;h=30702ca937562c9a7cd830050c97c42cf232b95a;hb=b23f02ee7aa3fc1cdaf6aebde9b731f22671251b;hp=5d179d4dc891947e1f8421184f1030bfda245cf7;hpb=b30245c8e92ecaf8fb877189d7620a5a9a205120;p=git.git diff --git a/commit.h b/commit.h index 5d179d4d..30702ca9 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);