summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-07-13 00:44:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-07-13 19:02:40 (GMT)
commit8b65a34c4a12cdaae7f43f65f760da0f48ad67e3 (patch)
tree1afb7e225af08f8196b05cfc8ed23c901c33f472 /commit.h
parent80145b1e412719c960036c8c62a9e35dd23a5b2d (diff)
downloadgit-8b65a34c4a12cdaae7f43f65f760da0f48ad67e3.zip
git-8b65a34c4a12cdaae7f43f65f760da0f48ad67e3.tar.gz
git-8b65a34c4a12cdaae7f43f65f760da0f48ad67e3.tar.bz2
commit: convert lookup_commit_graft to struct object_id
With this patch, commit.h doesn't contain the string 'sha1' any more. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 4127c29..6d857f0 100644
--- a/commit.h
+++ b/commit.h
@@ -249,7 +249,7 @@ typedef int (*each_commit_graft_fn)(const struct commit_graft *, void *);
struct commit_graft *read_graft_line(char *buf, int len);
int register_commit_graft(struct commit_graft *, int);
-struct commit_graft *lookup_commit_graft(const unsigned char *sha1);
+struct commit_graft *lookup_commit_graft(const struct object_id *oid);
extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *rev2);
extern struct commit_list *get_merge_bases_many(struct commit *one, int n, struct commit **twos);