summaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:57:58 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:57:58 +0900
commita75337341fb9dd7bac32a1fdc012dbf3281ef9be (patch)
tree342a77ac6fc0b8f27468170306d3373be33ce61c /refs
parentMerge branch 'sg/split-index-test' into maint (diff)
parentrefs: docstring typo (diff)
downloadtgif-a75337341fb9dd7bac32a1fdc012dbf3281ef9be.tar.xz
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
Diffstat (limited to 'refs')
-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);