[darcs-devel] [issue1387] darcs whatsnew --summary: diffstat style
Trent Buck
bugs at darcs.net
Thu Mar 12 02:11:28 UTC 2009
New submission from Trent Buck <trentbuck at gmail.com>:
Recently I have been using git a little, and when pulling patches from
an upstream repository, it emits a summary similar to that produced by
the diffstat(1) command:
Fast forward
panels/midori-addons.c | 2 ++
panels/midori-console.c | 9 ++++++---
panels/midori-extensions.c | 2 ++
3 files changed, 10 insertions(+), 3 deletions(-)
The diffstat style is to have one + for each added hunk, and one - for
each removed hunk. This is useful as you can see at a glance which
files have a lot of changes, and which have only a few. I think this
is easier to "see" than just the numbers.
This could be done for darcs --summary, too:
$ darcs changes --last=1 --summary
M ./GNUmakefile -12
M ./configure.ac -9
M ./darcs.cabal -16
M ./src/Darcs/External.hs -31 +1
$ darcs changes --last=1 --summary --diffstat
M ./GNUmakefile ------------
M ./configure.ac -------------------
M ./darcs.cabal ----------------
M ./src/Darcs/External.hs +-------------------------------
A demo patch would be useful so people can try it out.
----------
messages: 7431
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: darcs whatsnew --summary: diffstat style
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1387>
__________________________________
More information about the darcs-devel
mailing list