From: Tao Qingyun Date: Sat, 15 Sep 2018 02:15:46 +0000 (+0800) Subject: refs: docstring typo X-Git-Tag: v2.19.2~27^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7b6057c8528d491775aef6578f43873c12b6a17d?ds=inline;hp=--cc refs: docstring typo Signed-off-by: Tao Qingyun Signed-off-by: Junio C Hamano --- 7b6057c8528d491775aef6578f43873c12b6a17d diff --git a/refs/refs-internal.h b/refs/refs-internal.h index dd834314bd..58b827e523 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -281,7 +281,7 @@ int refs_rename_ref_available(struct ref_store *refs, * * // Access information about the current reference: * if (!(iter->flags & REF_ISSYMREF)) - * printf("%s is %s\n", iter->refname, oid_to_hex(&iter->oid)); + * printf("%s is %s\n", iter->refname, oid_to_hex(iter->oid)); * * // If you need to peel the reference: * ref_iterator_peel(iter, &oid);