This may be more appropriate as an issue in whatever issue tracker/forum Git uses, but I thought I'd get an SO confirmation/explanation first:
I have a repo tracking a bunch of installer executables.
Let's say foo-1.0.exe is already in the repo.
I now add foo-2.0.exe in the same directory (git add foo-2.0.exe). Next, I remove foo-1.0.exe (git rm foo-1.0.exe).
I expect Git status to show me one added file and one removed file. Instead, I get this:
On branch master
Changes to be committed:
(use "git reset HEAD ..." to unstage)
renamed: foo-1.0.exe -> foo2.0.exe
That's a WTF for me... is Git using some sort of heuristic to guess that 2.0 is an update to 1.0... I can see how that might make sense, but I don't think I want it to do that in this case.