mirror of
https://github.com/git/git.git
synced 2026-01-15 13:19:10 +00:00
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>
14 KiB
Executable File
14 KiB
Executable File