@matheusbsbs / matheus-bagliano / commits / 2860b57a87
Fork 0

Fix typo in comments of longest_ancestor_length()

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Aug 10, 2008 at 22:26 UTC 2860b57a87ba7e544d472701c83019d7624e6a2c
1 file changed +1 -1
path.c
+1 -1
@@ -365,7 +365,7 @@ int normalize_absolute_path(char *buf, const char *path)
365 * path = Canonical absolute path
366 * prefix_list = Colon-separated list of absolute paths
367 *
368 - * Determines, for each path in parent_list, whether the "prefix" really
368 + * Determines, for each path in prefix_list, whether the "prefix" really
369 * is an ancestor directory of path. Returns the length of the longest
370 * ancestor directory, excluding any trailing slashes, or -1 if no prefix
371 * is an ancestor. (Note that this means 0 is returned if prefix_list is