summaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-11-26 17:38:20 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-29 07:00:14 (GMT)
commit3c5e8468a93cdb427b4c4a129339e80e1813e5c0 (patch)
treef924da722242e90150ba1b56fb85bc1f2317ed03 /rev-list.c
parent9ef2b3cbf62d15aa0312bde349347873d7c0f399 (diff)
downloadgit-3c5e8468a93cdb427b4c4a129339e80e1813e5c0.zip
git-3c5e8468a93cdb427b4c4a129339e80e1813e5c0.tar.gz
git-3c5e8468a93cdb427b4c4a129339e80e1813e5c0.tar.bz2
ls-tree: major rewrite to do pathspec
git-ls-tree should be rewritten to use a pathspec the same way everybody else does. Right now it's the odd man out: if you do git-ls-tree HEAD divers/char drivers/ it will show the same files _twice_, which is not how pathspecs in general work. How about this patch? It breaks some of the git-ls-tree tests, but it makes git-ls-tree work a lot more like other git pathspec commands, and it removes more than 150 lines by re-using the recursive tree traversal (but the "-d" flag is gone for good, so I'm not pushing this too hard). Linus
Diffstat (limited to 'rev-list.c')
0 files changed, 0 insertions, 0 deletions