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

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

From
KTKonstantin Tokarev <annulen@yandex.ru>
Date
Mar 4, 2020, 11:52 UTC
Message-ID
<22014821583322729@vla1-b1f71bfb4f06.qloud-c.yandex.net>
In-Reply-To
<1223101582917647@iva6-161d47f95e63.qloud-c.yandex.net>
28.02.2020, 22:20, "Konstantin Tokarev" <annulen@yandex.ru>:
Show 9 quoted lines
> 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).
Any thoughts? Can it be considered a bug?
-- 
Regards,
Konstantin
Previous: Konstantin Tokarev
Message 2 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.