Konstantin Khomoutov schreef op 12-08-2016 18:29:

What `git mv` did is removed -- from the commit you have recorded after
running that command -- the file as it was known under its old name and
added the same contents under its new name.

Sometimes Git will recognise something as a rename if you do nothing else in that commit, but if you merge the commit with something else, suddenly it will not see or show it as that anymore.

For me personally too, renames are meaningful.

It's shame these renames are not detected or shown my by default.

Is there a best level approach to being more aware of any renames you have done?

For a person seeing a delete and an add of the same file under the different names is rather difficult to follow.

Is there an option to get Git to always track renames?

You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to