Renaming .c files to .cc?

Christian Biesinger via gdb gdb@sourceware.org
Wed Dec 11 23:00:00 GMT 2019


On Tue, Dec 10, 2019 at 10:32 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > 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.

Do you have a specific command in mind that doesn't? I haven't come
across that yet myself.

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

Technically correct, but not an issue in practice when files are being
renamed without changes, like they would be here.

Christian



More information about the Gdb mailing list