diff options
author | Stefan Beller <sbeller@google.com> | 2017-07-13 02:44:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-13 21:02:40 +0200 |
commit | 8b65a34c4a12cdaae7f43f65f760da0f48ad67e3 (patch) | |
tree | 1afb7e225af08f8196b05cfc8ed23c901c33f472 /commit.h | |
parent | Sync with v2.13.3 (diff) | |
download | git-8b65a34c4a12cdaae7f43f65f760da0f48ad67e3.tar.xz git-8b65a34c4a12cdaae7f43f65f760da0f48ad67e3.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |