Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix typo in comments of longest_ancestor_length()
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>
path.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
ac39efb
)
diff --git
a/path.c
b/path.c
index 9df447bd6dcfaddf7f05fe5f0b624700ff1f40d7..76e8872622e435b050f77198ef6eef6e6ff6869e 100644
(file)
--- 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
*
* path = Canonical absolute path
* prefix_list = Colon-separated list of absolute paths
*
- * Determines, for each path in p
arent
_list, whether the "prefix" really
+ * Determines, for each path in p
refix
_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
* 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