3 ms·
If git is able to detect that the file was renamed - which it will if the only change to the file in the commit is the file’s name - it will work. I’m not sure
by jamespwilliams 6y ago
If git is able to detect that the file was renamed - which it will if the only change to the file in the commit is the file’s name - it will work. I’m not sure whether this works if you also change the content of the file in the commit.
Same logic applies to git blame; file history is maintained for renames.