refs: docstring typo

Signed-off-by: Tao Qingyun <taoqy@ls-a.me> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Tao Qingyun committed Sep 15, 2018 at 10:15 UTC 7b6057c8528d491775aef6578f43873c12b6a17d
1 file changed +1 -1
refs/refs-internal.h
+1 -1
@@ -281,7 +281,7 @@ int refs_rename_ref_available(struct ref_store *refs,
281 *
282 * // Access information about the current reference:
283 * if (!(iter->flags & REF_ISSYMREF))
284 - * printf("%s is %s\n", iter->refname, oid_to_hex(&iter->oid));
284 + * printf("%s is %s\n", iter->refname, oid_to_hex(iter->oid));
285 *
286 * // If you need to peel the reference:
287 * ref_iterator_peel(iter, &oid);