diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-07 01:10:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 09:12:57 +0300 |
commit | d3101b533d365825f52d8e5e52328702acbc8e3a (patch) | |
tree | 22062fd7fd5ed77e4977a3ee6de3ce91c65eb3d7 /builtin/replace.c | |
parent | a92ea68fefe2b7ce61363da3f5e0ae09dd6edba4 (diff) |
Convert lookup_tag to struct object_id
Convert lookup_tag to take a pointer to struct object_id.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/replace.c')
-rw-r--r-- | builtin/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/replace.c b/builtin/replace.c index 3c44ef750e..c921bc976f 100644 --- a/builtin/replace.c +++ b/builtin/replace.c @@ -355,7 +355,7 @@ static void check_one_mergetag(struct commit *commit, int i; hash_sha1_file(extra->value, extra->len, typename(OBJ_TAG), tag_oid.hash); - tag = lookup_tag(tag_oid.hash); + tag = lookup_tag(&tag_oid); if (!tag) die(_("bad mergetag in commit '%s'"), ref); if (parse_tag_buffer(tag, extra->value, extra->len)) |