]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tq/refs-internal-comment-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2018 13:57:58 +0000 (22:57 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2018 13:57:58 +0000 (22:57 +0900)
Fix for typo in a sample code in comment.

* tq/refs-internal-comment-fix:
  refs: docstring typo

refs/refs-internal.h

index 89d7dd49cdce945d1bfe7277082d3d444b9d7e85..b425ae40b106eb639698d1bd4a52d0bd02345dee 100644 (file)
@@ -282,7 +282,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);