Nguyễn Thái Ngọc Duy
ddf88fa616
diff: add --compact-summary
...
Certain information is currently shown with --summary, but when used
in combination with --stat it's a bit hard to read since info of the
same file is in two places (--stat and --summary).
On top of that, commits that add or remove files double the number of
display lines, which could be a lot if you add or remove a lot of
files.
--compact-summary embeds most of --summary back in --stat in the
little space between the file name part and the graph line, e.g. with
commit 0433d533f1
:
Documentation/merge-config.txt | 4 +
builtin/merge.c | 2 +
...-pull-verify-signatures.sh (new +x) | 81 ++++++++++++++
t/t7612-merge-verify-signatures.sh | 45 ++++++++
4 files changed, 132 insertions(+)
It helps both condensing information and saving some text
space. What's new in diffstat is:
- A new 0644 file is shown as (new)
- A new 0755 file is shown as (new +x)
- A new symlink is shown as (new +l)
- A deleted file is shown as (gone)
- A mode change adding executable bit is shown as (mode +x)
- A mode change removing it is shown as (mode -x)
Note that --compact-summary does not contain all the information
--summary provides. Rewrite percentage is not shown but it could be
added later, like R50% or C20%.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2018-02-27 15:22:47 -08:00
..
2006-07-01 22:02:17 -07:00
2011-02-07 15:04:30 -08:00
2011-02-07 15:04:30 -08:00
2011-04-11 10:12:24 -07:00
2016-08-31 18:07:09 -07:00
2016-08-31 18:07:09 -07:00
2008-05-24 00:16:39 -07:00
2009-01-06 23:18:20 -08:00
2008-05-24 00:16:39 -07:00
2016-12-08 14:40:30 -08:00
2016-12-08 14:40:30 -08:00
2016-12-08 14:40:30 -08:00
2009-02-18 10:55:33 -08:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2016-12-08 14:40:30 -08:00
2016-12-08 14:40:30 -08:00
2016-12-08 14:40:30 -08:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2008-10-12 12:36:19 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2018-02-27 15:22:47 -08:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2006-06-29 12:07:27 -07:00
2006-10-05 15:10:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2018-02-27 15:22:47 -08:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2018-02-27 15:22:47 -08:00
2017-09-28 13:15:59 +09:00
2017-09-28 13:15:59 +09:00
2006-07-13 21:40:43 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2018-02-27 15:22:47 -08:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2017-09-28 13:15:59 +09:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2017-09-28 13:15:59 +09:00
2017-09-28 13:15:59 +09:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2010-08-31 14:30:29 -07:00
2010-08-31 14:30:29 -07:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:18 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2017-12-06 07:32:59 -08:00
2010-03-09 01:11:19 -08:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2010-03-09 01:11:19 -08:00
2006-06-26 14:36:40 -07:00
2009-02-13 17:18:22 -08:00
2006-06-26 14:36:40 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2012-04-30 14:17:26 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00