3 ms·
Of course, this is impossible in languages where file names and namespaces / structures must align. But nobody uses those, right?
by morelisp 5y ago
Of course, this is impossible in languages where file names and namespaces / structures must align. But nobody uses those, right?
- alkonaut 5y agoEven in those you would rather rename first then fix it in a subsequent commit, and just accept that the intermediate state isn’t correct.
- morelisp 5y agoWhy is having an obviously-incompilable intermediate state in your history a good idea, rather than using a diff algorithm that will find the move anyway?
- alkonaut 5y agoNot sure I follow. So long as git understands the move so a single file history (using the standard command or standard IDE tooling) doesn’t “stop” before the rename, then I’m happy. And I’m very happy to accept one commit in the history that doesn’t build in order to get that.