author | Mike Hommey <mh@glandium.org> | |
Sat, 3 Nov 2007 11:23:13 +0000 (12:23 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Nov 2007 06:47:57 +0000 (22:47 -0800) | ||
commit | 271bb08735435b859464c22506ba512f003a4191 | |
tree | 56b023aea0d669eb73f7126a244e7f43305168a9 | tree | snapshot |
parent | 7d8ae93292e2cd862359f02879a0c954faf8afa8 | commit | diff |
Don't always require working tree for git-rm
This allows to do git rm --cached -r directory, instead of
git ls-files -z directory | git update-index --remove -z --stdin.
This can be particularly useful for git-filter-branch users.
Signed-off-by: Mike Hommey <mh@glandium.org>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This allows to do git rm --cached -r directory, instead of
git ls-files -z directory | git update-index --remove -z --stdin.
This can be particularly useful for git-filter-branch users.
Signed-off-by: Mike Hommey <mh@glandium.org>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rm.c | diff | blob | history | |
git.c | diff | blob | history |