Git log with follow & author not working
- From
- Robert Dailey <rcdailey.lists@gmail.com>
- Date
- Oct 16, 2014, 16:09 UTC
- Message-ID
- <CAHd499DPx+1s+WTxJBEzgsJVy0M8AmuZzAx00mODWNy3KuCjdw@mail.gmail.com>
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.