threads / discuss / 37746

Git log with follow & author not working

Subject: Git log with follow & author not working

## tl;dr

One message between Oct 16, 2014 and Oct 16, 2014.

replies: 0people: 1as markdown or json

Robert Dailey· Oct 16, 2014, 16:09 UTC · lore

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.

← back to recent threads