Re: git-rm isn't the inverse action of git-add
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jul 11, 2007, 12:20 UTC
- Message-ID
- <f72hu8$65g$1@sea.gmane.org>
- In-Reply-To
- <46895EA4.5040803@jaeger.mine.nu>
Christian Jaeger wrote:
Show 7 quoted lines
> I don't per se require undo actions. I just don't understand why git-rm > refuses to remove the file from the index, even if I didn't commit it. > The index is just an intermediate record of the changes in my > understandings, and the rm action would also be intermediate until it's > being committed. And a non-committed action being deleted shouldn't need > a special confirmation from me, especially not one which is consisting > of a combination of two flags (of which one is a destructive one).
Should git-rm refuse to remove index entry if it is different from working directory version or not?
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git