author | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Mar 2008 07:50:51 +0000 (23:50 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Mar 2008 08:14:43 +0000 (00:14 -0800) | ||
commit | 79418599e7221ef10641cf9cc07018c25b4d0310 | |
tree | c500528413e95b060ee2d6192d423af21ffe2627 | tree | snapshot |
parent | 6c53e7ac04ecdb8b2697aea4bb9bec8715209e68 | commit | diff |
Revert part of d089eba (setup: sanitize absolute and funny paths in get_pathspec())
When get_pathspec() was originally made absolute-path capable,
we botched the interface to it, without dying inside the function
when given a path that is outside the work tree, and made it the
responsibility of callers to check the condition in a roundabout
way. This is made unnecessary with the previous patch.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When get_pathspec() was originally made absolute-path capable,
we botched the interface to it, without dying inside the function
when given a path that is outside the work tree, and made it the
responsibility of callers to check the condition in a roundabout
way. This is made unnecessary with the previous patch.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-ls-files.c | diff | blob | history |