author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Fri, 25 Mar 2011 09:34:19 +0000 (16:34 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 25 Mar 2011 16:20:33 +0000 (09:20 -0700) | ||
commit | f0096c06bcdeb7aa6ae8a749ddc9d6d4a2c381d1 | |
tree | b5b28251c9e48186b9e6168cbfefe4ace0f57602 | tree | snapshot |
parent | ffd31f661d5c5dddc091750ca86cfaa5d9d04b38 | commit | diff |
Convert read_tree{,_recursive} to support struct pathspec
This patch changes behavior of the two functions. Previously it does
prefix matching only. Now it can also do wildcard matching.
All callers are updated. Some gain wildcard matching (archive,
checkout), others reset pathspec_item.has_wildcard to retain old
behavior (ls-files, ls-tree as they are plumbing).
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch changes behavior of the two functions. Previously it does
prefix matching only. Now it can also do wildcard matching.
All callers are updated. Some gain wildcard matching (archive,
checkout), others reset pathspec_item.has_wildcard to retain old
behavior (ls-files, ls-tree as they are plumbing).
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c | diff | blob | history | |
builtin/checkout.c | diff | blob | history | |
builtin/log.c | diff | blob | history | |
builtin/ls-files.c | diff | blob | history | |
builtin/ls-tree.c | diff | blob | history | |
merge-recursive.c | diff | blob | history | |
t/t3102-ls-tree-wildcards.sh | [new file with mode: 0755] | blob |
tree.c | diff | blob | history | |
tree.h | diff | blob | history |