Thread (1 message) 1 message, 1 author, 2016-06-15

Re: How to commit removed file?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:47

"Michael S. Tsirkin" [off-list ref] 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 ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help