From: Junio C Hamano Date: Wed, 03 Jan 2007 06:51:55 GMT Subject: Re: How to commit removed file? Message-ID: <7vhcv8r4ac.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070103060640.GD20259@mellanox.co.il> "Michael S. Tsirkin" writes: > But won't the same problem appear with > > rm file > git-update-index file > git-commit file If you do index manipulation yourself using update-index, do not jump the index at the commit time using "git commit file..." syntax; the sole purpose of that misfeature is to handhold CVS-braindamaged people who want to make per-path partial commits. We bend backwards to allow index-jumping for most cases in git-commit, and you found that "most" is not "all". That's a great news. I am not interested to make it "all" myself -- if somebody else does it, that is fine, though ;-).