Code

diff: split off a function for --stat-* option parsing
authorJonathan Nieder <jrnieder@gmail.com>
Thu, 5 Aug 2010 08:22:53 +0000 (10:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Aug 2010 16:14:28 +0000 (09:14 -0700)
commit4d7f7a4ae7cf6caeab6aedc798b6528a4fb88829
tree24d0c1fe4d568e61eef0a9eecf77827b02b2ebe8
parentdea007fb4c8170ea007b577698c7b44df6c318b9
diff: split off a function for --stat-* option parsing

As an optimization, the diff_opt_parse() switchboard has
a single case for all the --stat-* options.  Split it
off into a separate function so we can enhance it
without bringing code dangerously close to the right
margin.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c