git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] utf8: fix duplicate words of "the"
@ 2016-05-06 12:31 Li Peng
  2016-05-06 13:09 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Li Peng @ 2016-05-06 12:31 UTC (permalink / raw)
  To: git; +Cc: peff, Li Peng

Fix duplicate words of "the" in comment.

Signed-off-by: Li Peng <lip@dtdream.com>
---
 transport-helper.c | 2 +-
 utf8.h             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/transport-helper.c b/transport-helper.c
index b934183..13b7a57 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -1152,7 +1152,7 @@ static void udt_close_if_finished(struct unidirectional_transfer *t)
 }
 
 /*
- * Tries to read read data from source into buffer. If buffer is full,
+ * Tries to read data from source into buffer. If buffer is full,
  * no data is read. Returns 0 on success, -1 on error.
  */
 static int udt_do_read(struct unidirectional_transfer *t)
diff --git a/utf8.h b/utf8.h
index 7930b44..6bbcf31 100644
--- a/utf8.h
+++ b/utf8.h
@@ -48,7 +48,7 @@ static inline char *reencode_string(const char *in,
 int mbs_chrlen(const char **text, size_t *remainder_p, const char *encoding);
 
 /*
- * Returns true if the the path would match ".git" after HFS case-folding.
+ * Returns true if the path would match ".git" after HFS case-folding.
  * The path should be NUL-terminated, but we will match variants of both ".git\0"
  * and ".git/..." (but _not_ ".../.git"). This makes it suitable for both fsck
  * and verify_path().
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-07 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-06 12:31 [PATCH] utf8: fix duplicate words of "the" Li Peng
2016-05-06 13:09 ` Jeff King
2016-05-06 17:28   ` Junio C Hamano
2016-05-06 18:30     ` Junio C Hamano
2016-05-07 15:10     ` 回复:[PATCH] " 李三0159

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 NNTP newsgroup(s).