git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] utf8: fix duplicate words of "the"

From
LPLi Peng <lip@dtdream.com>
Date
May 6, 2016, 12:31 UTC
Message-ID
<1462537893-18493-1-git-send-email-lip@dtdream.com>
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
Next: Jeff King
Message 1 of 5 in “utf8: fix duplicate words of "the"”
  1. utf8: fix duplicate words of "the"Li Peng, May 6, 2016
  2. Jeff KingMay 6, 2016
  3. Junio C HamanoMay 6, 2016
  4. Junio C HamanoMay 6, 2016
  5. 回复:[PATCH] utf8: fix duplicate words of "the"李三0159, May 7, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.