summaryrefslogtreecommitdiff
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 07:15:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-16 07:15:59 (GMT)
commiteea5e03a5a4636a95d18947643252ed52bb298ce (patch)
treee9bf0afbec5a7f3590d48643029cbeb8ceb4eeeb /refs/refs-internal.h
parent506ee60d222f94a1598769feaba3b3621bd9fa1a (diff)
parent7b6057c8528d491775aef6578f43873c12b6a17d (diff)
downloadgit-eea5e03a5a4636a95d18947643252ed52bb298ce.zip
git-eea5e03a5a4636a95d18947643252ed52bb298ce.tar.gz
git-eea5e03a5a4636a95d18947643252ed52bb298ce.tar.bz2
Merge branch 'tq/refs-internal-comment-fix'
Fix for typo in a sample code in comment. * tq/refs-internal-comment-fix: refs: docstring typo
Diffstat (limited to 'refs/refs-internal.h')
-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 89d7dd4..b425ae4 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);