Re: Renaming .c files to .cc?
"Christian Biesinger via gdb" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAPTJ0XH8UY-DCwjRaofxy3r0j1xnCKL93yc1QDb_jesiKYw-uw@mail.gmail.com> |
On Tue, Dec 10, 2019 at 10:32 PM Eli Zaretskii <[email protected]> wrote: > > > From: "Christian Biesinger via gdb" <[email protected]> > > 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