author | Junio C Hamano <gitster@pobox.com> | |
Fri, 14 Sep 2007 23:53:58 +0000 (16:53 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 18 Sep 2007 06:57:35 +0000 (23:57 -0700) | ||
commit | cba8d4896187abedd9c35936504b7254a2ecbd91 | |
tree | 0bcdd7d7d7ed7a2fe7c547c1f7c27a029e83c559 | tree | snapshot |
parent | 64586e75af3c84844b80652575a8b63a9612b24a | commit | diff |
git-commit: partial commit of paths only removed from the index
Because a partial commit is meant to be a way to ignore what are
staged in the index, "git rm --cached A && git commit A" should
just record what is in A on the filesystem. The previous patch
made the command sequence to barf, saying that A has not been
added yet. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Because a partial commit is meant to be a way to ignore what are
staged in the index, "git rm --cached A && git commit A" should
just record what is in A on the filesystem. The previous patch
made the command sequence to barf, saying that A has not been
added yet. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-commit.sh | diff | blob | history | |
t/t7501-commit.sh | diff | blob | history |