Re: How to commit removed file?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 3, 2007, 06:51 UTC
- Message-ID
- <7vhcv8r4ac.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070103060640.GD20259@mellanox.co.il>
"Michael S. Tsirkin" <mst@mellanox.co.il> writes:
Show 5 quoted lines
> 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 ;-).