summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Kazuki Saitoh <ksaitoh560@gmail.com>2013-08-30 19:02:06 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-03 14:19:20 -0700
commit9d57c4a6977997aa8150b333fbe2b88988e392d3 (patch)
tree801c19c96ada2689bd2e76a2b837d0c0adfe20d0 /cache-tree.c
parentgit p4 test: sanitize P4CHARSET (diff)
downloadtgif-9d57c4a6977997aa8150b333fbe2b88988e392d3.tar.xz
git p4: implement view spec wildcards with "p4 where"
"git p4" does not support many of the view wildcards, such as * and %%n. It only knows the common ... mapping, and exclusions. Redo the entire wildcard code around the idea of directly querying the p4 server for the mapping. For each commit, invoke "p4 where" with committed file paths as args and use the client mapping to decide where the file goes in git. This simplifies a lot of code, and adds support for all wildcards supported by p4. Downside is that there is probably a 20%-ish slowdown with this approach. [pw: redo code and tests] Signed-off-by: Kazuki Saitoh <ksaitoh560@gmail.com> Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions