X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=commit.h;h=620e936bbc70d713ac351af3a2950400579841dc;hb=d6db01075b65da2b8584a0450619390893aae103;hp=ce0b436711161d667eb9c067d343b82bad20f21d;hpb=bd2c39f58f915af532b488c5bda753314f0db603;p=git.git diff --git a/commit.h b/commit.h index ce0b4367..620e936b 100644 --- a/commit.h +++ b/commit.h @@ -19,6 +19,7 @@ struct commit { extern const char *commit_type; struct commit *lookup_commit(unsigned char *sha1); +struct commit *lookup_commit_reference(unsigned char *sha1); int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size);