git@vger.kernel.org mailing list mirror (one of many)
 help / Atom feed
* [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	[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	[flat|nested] 3+ messages in thread

end of thread, back to index

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

git@vger.kernel.org mailing list mirror (one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox