threads / patch / 14920

patchFix typo in comments of longest_ancestor_length()

Subject: [PATCH] Fix typo in comments of longest_ancestor_length()

## tl;dr

One message between Aug 10, 2008 and Aug 10, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Nguyễn Thái Ngọc Duy· Aug 10, 2008, 15:26 UTC · lore
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(-)
Show changes to path.c +1 −1
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

← back to recent threads