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

2 messages from 2020-02-28 to 2020-03-04. Participants: Konstantin Tokarev.
Thread: https://gitlist.dev/t/52913

## Konstantin Tokarev, 2020-02-28 19:20

Subject: `git log --full-diff --follow`: conflicting command line arguments
Message-ID: <1223101582917647@iva6-161d47f95e63.qloud-c.yandex.net>
URL: https://gitlist.dev/e/1223101582917647%40iva6-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


```

## Konstantin Tokarev, 2020-03-04 11:52

Subject: Re: `git log --full-diff --follow`: conflicting command line arguments
Message-ID: <22014821583322729@vla1-b1f71bfb4f06.qloud-c.yandex.net>
URL: https://gitlist.dev/e/22014821583322729%40vla1-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>:
> 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


```
