* [PATCH] refs: docstirng typo
@ 2018-09-14 14:45 Tao Qingyun
2018-09-14 18:37 ` Eric Sunshine
0 siblings, 1 reply; 3+ messages in thread
From: Tao Qingyun @ 2018-09-14 14:45 UTC (permalink / raw)
To: git; +Cc: Tao Qingyun
---
refs/refs-internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 04425d6d1e..1fe5a7a22f 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);
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] refs: docstirng typo
2018-09-14 14:45 [PATCH] refs: docstirng typo Tao Qingyun
@ 2018-09-14 18:37 ` Eric Sunshine
2018-09-15 2:15 ` [PATCH v2] refs: docstring typo Tao Qingyun
0 siblings, 1 reply; 3+ messages in thread
From: Eric Sunshine @ 2018-09-14 18:37 UTC (permalink / raw)
To: taoqy; +Cc: Git List
On Fri, Sep 14, 2018 at 10:45 AM Tao Qingyun <taoqy@ls-a.me> wrote:
> refs: docstirng typo
Typo: s/docstirng/docstring/
> ---
Please sign-off your patch. See Documentation/SubmittingPatches.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] refs: docstring typo
2018-09-14 18:37 ` Eric Sunshine
@ 2018-09-15 2:15 ` Tao Qingyun
0 siblings, 0 replies; 3+ messages in thread
From: Tao Qingyun @ 2018-09-15 2:15 UTC (permalink / raw)
To: sunshine; +Cc: git, Tao Qingyun
Signed-off-by: Tao Qingyun <taoqy@ls-a.me>
---
refs/refs-internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 04425d6d1e..1fe5a7a22f 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);
--
2.19.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-15 2:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-14 14:45 [PATCH] refs: docstirng typo Tao Qingyun
2018-09-14 18:37 ` Eric Sunshine
2018-09-15 2:15 ` [PATCH v2] refs: docstring typo Tao Qingyun
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).