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

Re: [PATCH] git-rm: don't remove newly added file without -f

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:01

Jeff King [off-list ref] writes:
Hmm, yes, I agree that is inconsistent. However, it's such a common
workflow that forcing a '-f' would become meaningless. And you _can_
rescue the blob from the object database in a pinch, though finding it
can be tedious.
That's exactly the reason why I mentioned this inconsistency
between add vs rm "tongue-in-cheek".

We really do not want to require -f for common situations so
much that it ends up training people's fingers to type -f
without thinking, which would render the safety option
meaningless.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help