author | Jason McMullan <jason.mcmullan@timesys.com> | |
Thu, 26 May 2005 17:52:50 +0000 (10:52 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 26 May 2005 22:18:55 +0000 (15:18 -0700) | ||
commit | 6d3a5077ddb78a73fe26b154c459bc4731bca0dd | |
tree | 58cd95099dd6db9b8237c2e4e4e573307bb1625b | tree | snapshot |
parent | 4ba406a75ca80e335acfddf77f8d119af6d34d9e | commit | diff |
[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>
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 | diff | blob | history | |
ls-tree.c | diff | blob | history | |
t/t3100-ls-tree-restrict.sh | [new file with mode: 0644] | blob |