author | Junio C Hamano <gitster@pobox.com> | |
Fri, 1 Feb 2008 11:13:10 +0000 (03:13 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Feb 2008 08:44:10 +0000 (00:44 -0800) | ||
commit | 1abf0950638d4f3279d059a1365da9c253d5718a | |
tree | 215a85a6554280fd44ffb2dc81464045a92ebe76 | tree | snapshot |
parent | 097971f5f564dbd832eea774ae0cdcfa03ba35ac | commit | diff |
git-add: adjust to the get_pathspec() changes.
We would need to notice and fail if command line had a nonsense pathspec.
Earlier get_pathspec() returned all the inputs including bad ones, but
the new one issues warnings and removes offending ones from its return
value, so the callers need to be adjusted to notice it.
Additional test scripts were initially from Robin Rosenberg, further fixed.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We would need to notice and fail if command line had a nonsense pathspec.
Earlier get_pathspec() returned all the inputs including bad ones, but
the new one issues warnings and removes offending ones from its return
value, so the callers need to be adjusted to notice it.
Additional test scripts were initially from Robin Rosenberg, further fixed.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c | diff | blob | history | |
t/t7010-setup.sh | diff | blob | history |