diff --stat: allow custom diffstat output width.
commita2540023dcf833ca02d87c28052e8b7135d56b60
authorJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 01:53:02 +0000 (26 18:53 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 09:55:08 +0000 (27 02:55 -0700)
tree68b099b93e9072838d9cd108614c5be9c9bb696c
parent4a0641b7cf833644b286b56bb57d66b5538e4418
diff --stat: allow custom diffstat output width.

This adds two parameters to "diff --stat".

 . --stat-width=72 tells that the page should fit on 72-column output.

 . --stat-name-width=30 tells that the filename part is limited
   to 30 columns.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c
diff.h