git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* `git log --full-diff --follow`: conflicting command line arguments
@ 2020-02-28 19:20 Konstantin Tokarev
  2020-03-04 11:52 ` Konstantin Tokarev
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Tokarev @ 2020-02-28 19:20 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: `git log --full-diff --follow`: conflicting command line arguments
  2020-02-28 19:20 `git log --full-diff --follow`: conflicting command line arguments Konstantin Tokarev
@ 2020-03-04 11:52 ` Konstantin Tokarev
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Tokarev @ 2020-03-04 11:52 UTC (permalink / raw)
  To: git@vger.kernel.org



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-04 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 19:20 `git log --full-diff --follow`: conflicting command line arguments Konstantin Tokarev
2020-03-04 11:52 ` Konstantin Tokarev

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).