Renaming .c files to .cc?

Eli Zaretskii eliz@gnu.org
Wed Dec 11 03:32:00 GMT 2019


> From: "Christian Biesinger via gdb" <gdb@sourceware.org>
> Date: Tue, 10 Dec 2019 17:18:58 -0500
> 
> On IRC it was mentioned that git may have issues with renames like
> that but I have found that "git log --follow" and such are doing a
> good job with that, at least as long as the same commit doesn't change
> the file too much while it is renamed, which I wouldn't expect to be a
> problem here.

Not every Git command has a --follow option, so renaming files does
have disadvantages in that area.

Also, even with --follow, Git's tracking of renaming is heuristics,
so it can fail.



More information about the Gdb mailing list