[PATCH] ls-tree matching multiple paths
authorJason McMullan <jason.mcmullan@timesys.com>
Thu, 26 May 2005 17:52:50 +0000 (10:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 May 2005 22:18:55 +0000 (15:18 -0700)
commit6d3a5077ddb78a73fe26b154c459bc4731bca0dd
tree58cd95099dd6db9b8237c2e4e4e573307bb1625b
parent4ba406a75ca80e335acfddf77f8d119af6d34d9e
[PATCH] ls-tree matching multiple paths

Enhance git-ls-tree to allow optional 'match paths' that
restricts the output of git-ls-tree.  This is useful to retrieve
a single file's SHA1 out of a tree without creating an index.

[JC: I added the test case]

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/git-ls-tree.txt
ls-tree.c
t/t3100-ls-tree-restrict.sh [new file with mode: 0644]