X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=commit.h;h=9dda2f045fc96a145081fab74ea84976227e9787;hb=b779d5f009f8e12df13d650ad8a57e63068a9c82;hp=5d179d4dc891947e1f8421184f1030bfda245cf7;hpb=2b64f88f09ae2169ec85652b46897574e352936d;p=git.git diff --git a/commit.h b/commit.h index 5d179d4d..9dda2f04 100644 --- a/commit.h +++ b/commit.h @@ -21,6 +21,8 @@ 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);