Skip to content

Commit 7b6057c

Browse files
taoqygitster
authored andcommitted
refs: docstring typo
Signed-off-by: Tao Qingyun <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fc54c1a commit 7b6057c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refs/refs-internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ int refs_rename_ref_available(struct ref_store *refs,
281281
*
282282
* // Access information about the current reference:
283283
* 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));
285285
*
286286
* // If you need to peel the reference:
287287
* ref_iterator_peel(iter, &oid);

0 commit comments

Comments
 (0)