Skip to content

Commit a753373

Browse files
committed
Merge branch 'tq/refs-internal-comment-fix' into maint
Fix for typo in a sample code in comment. * tq/refs-internal-comment-fix: refs: docstring typo
2 parents 85f6afc + 7b6057c commit a753373

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
@@ -282,7 +282,7 @@ int refs_rename_ref_available(struct ref_store *refs,
282282
*
283283
* // Access information about the current reference:
284284
* if (!(iter->flags & REF_ISSYMREF))
285-
* printf("%s is %s\n", iter->refname, oid_to_hex(&iter->oid));
285+
* printf("%s is %s\n", iter->refname, oid_to_hex(iter->oid));
286286
*
287287
* // If you need to peel the reference:
288288
* ref_iterator_peel(iter, &oid);

0 commit comments

Comments
 (0)