author | Junio C Hamano <junkio@cox.net> | |
Thu, 1 Dec 2005 21:15:20 +0000 (13:15 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 1 Dec 2005 22:43:54 +0000 (14:43 -0800) | ||
commit | f59846718ed98e153c0423eaa5f7ff0526d2a6f8 | |
tree | 4837325c15f9a38b02ae6b3455720809c3405894 | tree | snapshot |
parent | 0f8f45cb4a7e664b396f73c25891da46b953b8b8 | commit | diff |
ls-tree: resurrect '-d' to mean 'show trees only'
With this:
git-ls-tree -d HEAD -- drivers/net/
shows only immediate subtrees of drivers/net.
git-ls-tree -d -t HEAD -- drivers/net/
shows drivers, drivers/net and immediate subtrees of
drivers/net.
git-ls-tree -d -r HEAD -- drivers/net/
shows drivers, drivers/net and all subtrees of drivers/net (but
not blobs).
Signed-off-by: Junio C Hamano <junkio@cox.net>
With this:
git-ls-tree -d HEAD -- drivers/net/
shows only immediate subtrees of drivers/net.
git-ls-tree -d -t HEAD -- drivers/net/
shows drivers, drivers/net and immediate subtrees of
drivers/net.
git-ls-tree -d -r HEAD -- drivers/net/
shows drivers, drivers/net and all subtrees of drivers/net (but
not blobs).
Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-tree.c | diff | blob | history |