Re: [PATCH/RFC] diff: add --compact-summary option to complement --stat

2018-01-14 Thread Duy Nguyen
On Sun, Jan 14, 2018 at 4:37 PM, Simon Ruderich wrote: > On Sat, Jan 13, 2018 at 08:22:11PM +0700, Nguyễn Thái Ngọc Duy wrote: >> [snip] >> >> For mode changes, executable bit is denoted as "(+x)" or "(-x)" when >> it's added or removed respectively. The same for when a regular file is >> replaced

Re: [PATCH/RFC] diff: add --compact-summary option to complement --stat

2018-01-14 Thread Simon Ruderich
On Sat, Jan 13, 2018 at 08:22:11PM +0700, Nguyễn Thái Ngọc Duy wrote: > [snip] > > For mode changes, executable bit is denoted as "(+x)" or "(-x)" when > it's added or removed respectively. The same for when a regular file is > replaced with a symlink "(+l)" or the other way "(-l)". This also > app

Re: [PATCH/RFC] diff: add --compact-summary option to complement --stat

2018-01-13 Thread Philip Oakley
(one spelling spotted).. From: "Nguyễn Thái Ngọc Duy" This is partly inspired by gerrit web interface which shows diffstat like this, e.g. with commit 0433d533f1 (notice the "A" column on the third line): Documentation/merge-config.txt | 4 + builtin/merge.c| 2

[PATCH/RFC] diff: add --compact-summary option to complement --stat

2018-01-13 Thread Nguyễn Thái Ngọc Duy
This is partly inspired by gerrit web interface which shows diffstat like this, e.g. with commit 0433d533f1 (notice the "A" column on the third line): Documentation/merge-config.txt | 4 + builtin/merge.c| 2 + A t/t5573-pull-verify-signatures.sh | 81