diff: pass the whole diff_options to diffcore_apply_filter()
commit949226fe77beb1027bd5ac7be56fe002236d6cad
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Jul 2013 21:19:24 +0000 (17 14:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jul 2013 21:19:24 +0000 (17 14:19 -0700)
treea8fde9f3c4ba8c545b171bfe95dac049d257d2e8
parentf59bebb78edb26e4f66c2754bc4d168c5d4ebb4a
diff: pass the whole diff_options to diffcore_apply_filter()

The --diff-filter=<arg> option given by the user is kept as a
string, and passed to the underlying diffcore_apply_filter()
function as a string for each resulting path we run number of
strchr() to see if each class of change among ACDMRTXUB is meant to
be given.

Change the function signature to pass the whole diff_options, so
that we can pre-parse this string in the next patch.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c