threads / discuss / 52913

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

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

## tl;dr

2 messages between Feb 28, 2020 and Mar 4, 2020.

replies: 1people: 1as markdown or json

Konstantin Tokarev· Feb 28, 2020, 19:20 UTC · lore
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
Konstantin Tokarev· Mar 4, 2020, 11:52 UTC · re: Konstantin Tokarev · lore

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

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

← back to recent threads