Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tq/refs-internal-comment-fix'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Oct 2018 07:15:59 +0000
(16:15 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Oct 2018 07:15:59 +0000
(16:15 +0900)
Fix for typo in a sample code in comment.
* tq/refs-internal-comment-fix:
refs: docstring typo
refs/refs-internal.h
patch
|
blob
|
history
raw
(from parent 1:
506ee60
)
diff --git
a/refs/refs-internal.h
b/refs/refs-internal.h
index 89d7dd49cdce945d1bfe7277082d3d444b9d7e85..b425ae40b106eb639698d1bd4a52d0bd02345dee 100644
(file)
--- 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);