author | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Mar 2008 07:31:29 +0000 (23:31 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Mar 2008 08:14:43 +0000 (00:14 -0800) | ||
commit | 6c53e7ac04ecdb8b2697aea4bb9bec8715209e68 | |
tree | 008d472266c87dd000b8025bbea5ef2af4514b67 | tree | snapshot |
parent | 971dfa19598324f49bd3a010ca629c91d6a0f758 | commit | diff |
Revert part of 1abf095 (git-add: adjust to the get_pathspec() changes)
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-add.c | diff | blob | history |