Re: Schrödinger's diff
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:02
Jeff King [off-list ref] writes:
Yes, that works fine, but:
1. It blows away anything unrelated you might have staged.
2. You have to know to do it (and you get very confusing results if
you don't), which makes it very unfriendly for newbies.
3. You have to know to do it, and it isn't documented. :)
(3) at least is not too hard to address. And perhaps (2) is not a big
enough issue to care about. This is not a problem we have seen on the
list a lot. I suspect it is because most CRLF users are on Windows, and
therefore have it setup before the tree is checked out, and there are
simply not all that many clean/smudge users.A much more important reason is that it is a one-time event. You notice that you screwed up the configuration to use your peculiar work tree representation, and you fix it once and for all. Because not only it is a one-time event but because it is a big-deal event, I do not think it is something people even would want to think about doing it while having local changes, so I suspect #1 is also a non-issue.