Code

git-add -u paths... now works from subdirectory
authorSalikh Zakirov <salikh.zakirov@gmail.com>
Wed, 15 Aug 2007 17:01:43 +0000 (02:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2007 21:28:34 +0000 (14:28 -0700)
commit2ed2c222dfe372385dc562fb5dc246d5595c1eae
tree9bb5bb65664acc05dc4238793c07e08314f58ae1
parenta4882c27f8b3793d94b03fd503a0c67ad9772cf6
git-add -u paths... now works from subdirectory

git-add -u also takes the path limiters, but unlike the
command without the -u option, the code forgot that it
could be invoked from a subdirectory, and did not correctly
handle the prefix.

Signed-off-by: Salikh Zakirov <salikh@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c
t/t2200-add-update.sh