Git development
 help / color / mirror / Atom feed
* [WISH] prepend diffstat in front of the patch
@ 2006-04-15  9:07 Marco Costalba
  2006-04-15  9:16 ` Junio C Hamano
  2006-04-15 11:48 ` Johannes Schindelin
  0 siblings, 2 replies; 7+ messages in thread
From: Marco Costalba @ 2006-04-15  9:07 UTC (permalink / raw)
  To: Johannes.Schindelin; +Cc: junkio, git

>From today git tree

$ git-diff-tree -r -c -p --stat 84981f9
84981f9ad963f050abf4fe33ac07d36b4ea90c6d
---
 diff.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


$ git-diff-tree -r -c --stat -p 84981f9
84981f9ad963f050abf4fe33ac07d36b4ea90c6d
diff --git a/diff.c b/diff.c
index c120239..f1b672d 100644
--- a/diff.c
+++ b/diff.c
@@ -438,8 +438,8 @@ static void builtin_diffstat(const char
                xdemitcb_t ecb;

                xpp.flags = XDF_NEED_MINIMAL;
-               xecfg.ctxlen = 3;
-               xecfg.flags = XDL_EMIT_FUNCNAMES;
+               xecfg.ctxlen = 0;
+               xecfg.flags = 0;
                ecb.outf = xdiff_outf;
                ecb.priv = diffstat;
                xdl_diff(&mf1, &mf2, &xpp, &xecfg, &ecb);


Perhaps I missed something, but I would like to see --stat and -p as 
_cumulative_ options .

Would be great if git-diff-tree -r -c --stat -p 84981f9 prepends
diffstat in front of the patch as Junio suggested some days ago.

Is it already planned?

Thanks
Marco

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

end of thread, other threads:[~2006-04-15 12:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-15  9:07 [WISH] prepend diffstat in front of the patch Marco Costalba
2006-04-15  9:16 ` Junio C Hamano
2006-04-15  9:23   ` Marco Costalba
2006-04-15 11:51   ` Johannes Schindelin
2006-04-15 11:48 ` Johannes Schindelin
2006-04-15 12:12   ` Junio C Hamano
2006-04-15 12:30     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox