diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-03 15:04:49 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-03 15:04:49 -0800 |
commit | 973e20b83f38d0a640d4e0478ddbd50dfa98daf1 (patch) | |
tree | 6cf89c7e061f25e00153b64af2dc1736c98337f9 /builtin/show-ref.c | |
parent | Merge branch 'js/skip-dashed-built-ins-from-config-mak' (diff) | |
parent | refs: switch peel_ref() to peel_iterated_oid() (diff) | |
download | tgif-973e20b83f38d0a640d4e0478ddbd50dfa98daf1.tar.xz |
Merge branch 'jk/peel-iterated-oid'
The peel_ref() API has been replaced with peel_iterated_oid().
* jk/peel-iterated-oid:
refs: switch peel_ref() to peel_iterated_oid()
Diffstat (limited to 'builtin/show-ref.c')
-rw-r--r-- | builtin/show-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/show-ref.c b/builtin/show-ref.c index ae60b4acf2..7f8a5332f8 100644 --- a/builtin/show-ref.c +++ b/builtin/show-ref.c @@ -40,7 +40,7 @@ static void show_one(const char *refname, const struct object_id *oid) if (!deref_tags) return; - if (!peel_ref(refname, &peeled)) { + if (!peel_iterated_oid(oid, &peeled)) { hex = find_unique_abbrev(&peeled, abbrev); printf("%s %s^{}\n", hex, refname); } |