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

`git log --full-diff --follow`: conflicting command line arguments

From
KTKonstantin Tokarev <annulen@yandex.ru>
Date
Feb 28, 2020, 19:20 UTC
Message-ID
<1223101582917647@iva6-161d47f95e63.qloud-c.yandex.net>
Hello,
Combination of "--full-diff" and "--follow" in git log arguments causes following error with git 2.25.1:
fatal: --follow requires exactly one pathspec

This message is certainly misleading when git log is applied to a single pathspec. Bit it would be useful to make this combination valid and show full diffs for followed history of particular file (when -p option is also provided).

-- 
Regards,
Konstantin
Next: Konstantin Tokarev
Message 1 of 2 in “`git log --full-diff --follow`: conflicting command line arguments”
  1. Konstantin TokarevFeb 28, 2020
  2. Konstantin TokarevMar 4, 2020

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.