author | Junio C Hamano <junkio@cox.net> | |
Thu, 1 Dec 2005 22:54:00 +0000 (14:54 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 1 Dec 2005 22:54:00 +0000 (14:54 -0800) | ||
commit | c639a5548a5d8414b55202592885449f66ee2f33 | |
tree | 6d5fd44b21829ed6d9e2b5c45d8fe2107ab81efe | tree | snapshot |
parent | f59846718ed98e153c0423eaa5f7ff0526d2a6f8 | commit | diff |
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>
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 | diff | blob | history |