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

[PATCH] dir.c: Fix two minor grammatical errors in comments

From
Allan Caffee <allan.caffee@gmail.com>
Date
May 4, 2009, 17:37 UTC
Message-ID
<20090504173730.GA3940@linux.vnet>
Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
---
 dir.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dir.c b/dir.c
index 15677da..6aae09a 100644
--- a/dir.c
+++ b/dir.c
@@ -53,7 +53,7 @@ int common_prefix(const char **pathspec)
 }
 
 /*
- * Does 'match' matches the given name?
+ * Does 'match' match the given name?
  * A match is found if
  *
  * (1) the 'match' string is leading directory of 'name', or
@@ -290,7 +290,7 @@ static void prep_exclude(struct dir_struct *dir, const char *base, int baselen)
 	dir->basebuf[baselen] = '\0';
 }
 
-/* Scan the list and let the last match determines the fate.
+/* Scan the list and let the last match determine the fate.
  * Return 1 for exclude, 0 for include and -1 for undecided.
  */
 static int excluded_1(const char *pathname,
-- 
1.6.3.rc3.12.gb7937
Message 1 of 1 in “dir.c: Fix two minor grammatical errors in comments”
  1. dir.c: Fix two minor grammatical errors in commentsAllan Caffee, May 4, 2009

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.