Customize the sort of "git diff --stat" output

From: ROZAR Fabien <hidden>
Date: 2018-08-28 11:49:34

Hello there,

I was looking for the possibility of sorting the output of the command "git diff --stat" by the number of modifications. Currently, the output of this command show the modified files by alphabetic order.
I didn't find a "builtin" option which allows to sort the files by number of modifications.

It is possible to do it with a "| sort <good_option>" but you may lose the coloration and it's not desirable.
If this option already exist, please send me a link to it and I apologize by advance.

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