summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:15:59 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:15:59 +0900
commiteea5e03a5a4636a95d18947643252ed52bb298ce (patch)
treee9bf0afbec5a7f3590d48643029cbeb8ceb4eeeb
parentMerge branch 'ts/alias-of-alias' (diff)
parentrefs: docstring typo (diff)
downloadtgif-eea5e03a5a4636a95d18947643252ed52bb298ce.tar.xz
Merge branch 'tq/refs-internal-comment-fix'
Fix for typo in a sample code in comment. * tq/refs-internal-comment-fix: refs: docstring typo
-rw-r--r--refs/refs-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 89d7dd49cd..b425ae40b1 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -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);