summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac39efb)
raw | patch | inline | side by side (parent: ac39efb)
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Sun, 10 Aug 2008 15:26:23 +0000 (22:26 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Aug 2008 23:44:54 +0000 (16:44 -0700) |
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.c | patch | blob | history |
index 9df447bd6dcfaddf7f05fe5f0b624700ff1f40d7..76e8872622e435b050f77198ef6eef6e6ff6869e 100644 (file)
--- a/path.c
+++ b/path.c
* 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