Revert part of 1abf095 (git-add: adjust to the get_pathspec() changes)
commit6c53e7ac04ecdb8b2697aea4bb9bec8715209e68
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 Mar 2008 07:31:29 +0000 (6 23:31 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Mar 2008 08:14:43 +0000 (7 00:14 -0800)
tree008d472266c87dd000b8025bbea5ef2af4514b67
parent971dfa19598324f49bd3a010ca629c91d6a0f758
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>
builtin-add.c