author | Clemens Buchacher <drizzd@aon.at> | |
Wed, 14 Jan 2009 14:54:35 +0000 (15:54 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 15 Jan 2009 03:18:44 +0000 (19:18 -0800) | ||
commit | 0b50922abffb82c473182b03eb5bb47a978cceac | |
tree | 25dac912a5f695b9117162cc59087e68e915bbfc | tree | snapshot |
parent | 1c7c1d179e51f163c014353f33b406f5bae13922 | commit | diff |
remove pathspec_match, use match_pathspec instead
Both versions have the same functionality. This removes any
redundancy.
This also adds makes two extensions to match_pathspec:
- If pathspec is NULL, return 1. This reflects the behavior of git
commands, for which no paths usually means "match all paths".
- If seen is NULL, do not use it.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Both versions have the same functionality. This removes any
redundancy.
This also adds makes two extensions to match_pathspec:
- If pathspec is NULL, return 1. This reflects the behavior of git
commands, for which no paths usually means "match all paths".
- If seen is NULL, do not use it.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c | diff | blob | history | |
builtin-commit.c | diff | blob | history | |
builtin-ls-files.c | diff | blob | history | |
cache.h | diff | blob | history | |
dir.c | diff | blob | history |