ls-tree: --name-only
commitc639a5548a5d8414b55202592885449f66ee2f33
authorJunio C Hamano <junkio@cox.net>
Thu, 1 Dec 2005 22:54:00 +0000 (1 14:54 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 1 Dec 2005 22:54:00 +0000 (1 14:54 -0800)
tree6d5fd44b21829ed6d9e2b5c45d8fe2107ab81efe
parentf59846718ed98e153c0423eaa5f7ff0526d2a6f8
ls-tree: --name-only

Fingers of some "git diff" users are trained to do --name-only
which git-ls-tree unfortunately does not take.  With this,

cd sub/directory && git-ls-tree -r --name-only ..

would show only the names not object names nor modes.  I threw
in another synonym --name-status only for usability, but
obviously ls-tree does not do any comparison so what it does is
the same as --name-only.

Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-tree.c