Robert Dailey
2014-10-16 16:09:45 UTC
I have relocated a file into another directory and committed that.
Using the --follow command on the NEW path of the file, I want to find
all commits to that file by a specific author:
$ git log --follow --author david -- new/path/to/file.cpp
When I do this, I get NO results. When I use the OLD path to the file, it works:
$ git log --follow --author david -- OLD/path/to/file.cpp
Also --follow seems to work fine on the NEW path if I do not specify
--author. Is this a bug or am I using this command incorrectly?
Follow up assistance is very much appreciated. Thanks guys.
Using the --follow command on the NEW path of the file, I want to find
all commits to that file by a specific author:
$ git log --follow --author david -- new/path/to/file.cpp
When I do this, I get NO results. When I use the OLD path to the file, it works:
$ git log --follow --author david -- OLD/path/to/file.cpp
Also --follow seems to work fine on the NEW path if I do not specify
--author. Is this a bug or am I using this command incorrectly?
Follow up assistance is very much appreciated. Thanks guys.