git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v3 10/10] diff-merges: let "-m" imply "-p"
@ 2021-08-05  4:00 Joshua Nelson
  0 siblings, 0 replies; 4+ messages in thread
From: Joshua Nelson @ 2021-08-05  4:00 UTC (permalink / raw)
  To: jrnieder
  Cc: alexhenrie24, avarab, felipe.contreras, git, gitster, gl041188,
	hudsonayers, newren, peff, philipoakley, sorganov, tlyu

Jonathan Nieder wrote:

> What happens if someone wants to build an older version of Rust?

For what it's worth, almost no one builds old versions of rust from source
except for distros, and distros wouldn't ever set download-ci-llvm = true. So
this shouldn't affect anyone in practice now that we've removed `-m` on master.

Joshua

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Why doesn't `git log -m` imply `-p`?
@ 2021-04-29  1:44 Alex Henrie
  2021-05-20 21:46 ` [PATCH v3 00/10] diff-merges: let -m imply -p Sergey Organov
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Henrie @ 2021-04-29  1:44 UTC (permalink / raw)
  To: Git mailing list, Sergey Organov, Junio C Hamano

I read the following in `man git-log` today:

--diff-merges=separate, --diff-merges=m, -m
    This makes merge commits show the full diff with respect to each of
    the parents. Separate log entry and diff is generated for each
    parent.  -m doesn't produce any output without -p.

--diff-merges=combined, --diff-merges=c, -c
    With this option, diff output for a merge commit shows the
    differences from each of the parents to the merge result
    simultaneously instead of showing pairwise diff between a parent and
    the result one at a time. Furthermore, it lists only files which
    were modified from all parents.  -c implies -p.

--diff-merges=dense-combined, --diff-merges=cc, --cc
    With this option the output produced by --diff-merges=combined is
    further compressed by omitting uninteresting hunks whose contents
    in the parents have only two variants and the merge result picks one
    of them without modification.  --cc implies -p.

Why do -c and -cc imply -p, but -m does not? I tried to use both `git
log -c` and `git log -m` today and was confused when the latter didn't
produce any output. Could we change this behavior in a future version
of Git?

-Alex

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

end of thread, other threads:[~2021-08-16  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05  4:00 [PATCH v3 10/10] diff-merges: let "-m" imply "-p" Joshua Nelson
  -- strict thread matches above, loose matches on Subject: below --
2021-04-29  1:44 Why doesn't `git log -m` imply `-p`? Alex Henrie
2021-05-20 21:46 ` [PATCH v3 00/10] diff-merges: let -m imply -p Sergey Organov
2021-05-20 21:47   ` [PATCH v3 10/10] diff-merges: let "-m" imply "-p" Sergey Organov
2021-08-05  3:16     ` Jonathan Nieder
2021-08-16  9:09       ` Sergey Organov

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 NNTP newsgroup(s).