Thread (2 messages) flat view 2 messages, 2 authors, 2017-06-09

Re: Clarifying behavior of diff --stat

From: Jeff King <hidden>
Date: 2017-06-09 05:21:28

On Thu, Jun 08, 2017 at 07:10:00AM -0400, Samuel Lijin wrote:
I noticed when answering a StackOverflow question that apparently
--stat modifies the raw diff itself, instead of just adding a diffstat
to the output. In the linux kernel:
Sort of. Using "--stat" implies "-r", since it only deals with the
actual blobs and would have nothing to show for tree entries.

And since recursive-ness is global to the whole diff, not just one
output format, the --raw output becomes recursive, too.
Is this intentional? And is there a way to generate a raw version of
the extended stat without using --stat?
Try "git diff-tree --raw -r".

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help