ls-tree: --name-only
authorJunio C Hamano <junkio@cox.net>
Thu, 1 Dec 2005 22:54:00 +0000 (14:54 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 1 Dec 2005 22:54:00 +0000 (14:54 -0800)
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>

No differences found