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

[PATCH] Fix typo in comments of longest_ancestor_length()

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Aug 10, 2008, 15:26 UTC
Message-ID
<20080810152623.GA22259@laptop>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Not really important but it might confuse new comers.
 path.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/path.c b/path.c
index 9df447b..76e8872 100644
--- a/path.c
+++ b/path.c
@@ -365,7 +365,7 @@ int normalize_absolute_path(char *buf, const char *path)
  * path = Canonical absolute path
  * prefix_list = Colon-separated list of absolute paths
  *
- * Determines, for each path in parent_list, whether the "prefix" really
+ * Determines, for each path in prefix_list, whether the "prefix" really
  * is an ancestor directory of path.  Returns the length of the longest
  * ancestor directory, excluding any trailing slashes, or -1 if no prefix
  * is an ancestor.  (Note that this means 0 is returned if prefix_list is
-- 
1.5.5.GIT
Message 1 of 1 in “Fix typo in comments of longest_ancestor_length()”
  1. Fix typo in comments of longest_ancestor_length()Nguyễn Thái Ngọc Duy, Aug 10, 2008

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.