Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 16:57:58 +0300
committerJunio C Hamano <gitster@pobox.com>2018-11-21 16:57:58 +0300
commita75337341fb9dd7bac32a1fdc012dbf3281ef9be (patch)
tree342a77ac6fc0b8f27468170306d3373be33ce61c
parent85f6afc28b64cfd233f80f56896941530df0dcc0 (diff)
parent7b6057c8528d491775aef6578f43873c12b6a17d (diff)
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
-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);