git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git log with follow & author not working

From
RDRobert 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.
Message 1 of 1 in “Git log with follow & author not working”
  1. Robert DaileyOct 16, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.