3 ms·
One area where I find squashing especially problematic is file renames. If you rename a file in one commit and fix up the references to and from the file in a s
by grumbel 4y ago
One area where I find squashing especially problematic is file renames. If you rename a file in one commit and fix up the references to and from the file in a second, git can follow the rename, but one commit will fail to compile.
If you squash it into one commit on the other side, git will have a very hard time figuring out that the file got renamed and is not a brand new file, as both the rename and the fixup happened at the same time.