Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2006-02-22 | git-rm: Fix to properly handle files with spaces, tabs, newlines, etc. | Carl Worth | 1 | -17/+20 | |
New tests are added to the git-rm test case to cover this as well. Signed-off-by: Carl Worth <cworth@cworth.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | |||||
2006-02-22 | Add new git-rm command with documentation | Carl Worth | 1 | -0/+67 | |
This adds a git-rm command which provides convenience similar to git-add, (and a bit more since it takes care of the rm as well if given -f). Like git-add, git-rm expands the given path names through git-ls-files. This means it only acts on files listed in the index. And it does act recursively on directories by default, (no -r needed as in the case of rm itself). When it recurses, it does not remove empty directories that are left behind. Signed-off-by: Junio C Hamano <junkio@cox.net> |