]> granicus.if.org Git - cgit/commit
ui-diff: add "stat only" diff type
authorJohn Keeping <john@keeping.me.uk>
Sun, 5 Oct 2014 09:59:05 +0000 (10:59 +0100)
committerLukas Fleischer <cgit@cryptocrack.de>
Sat, 13 Dec 2014 11:38:42 +0000 (12:38 +0100)
commitddfaef6bb28e697491b25bff5a7b260d44ce6ccf
tree53a8bfe75e9f8250131fb2b38a346731ba5581cd
parent1830271c5958526425f92ae2b369646b54e3c370
ui-diff: add "stat only" diff type

This prints the diffstat but stops before printing (or generating) any
of the body of the diff.

No cgitrc option is added here so that we can wait to see how useful
this is before letting people set it as the default.

Suggested-by: Konstantin Ryabitsev <mricon@kernel.org>
Signed-off-by: John Keeping <john@keeping.me.uk>
cgit.h
ui-diff.c