xdiff/xhistogram: pass arguments directly to fall_back_to_classic_diff
commit282098506ffb42d151a3c8d324b6b5393a4342a4
authorStefan Beller <sbeller@google.com>
Thu, 19 Jul 2018 18:56:18 +0000 (19 11:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jul 2018 19:46:00 +0000 (19 12:46 -0700)
treebd3978cba309a434a6b3f5a9d85c4d97682abf57
parent27dea4683b608c5c0487dee74cbda13b62803b73
xdiff/xhistogram: pass arguments directly to fall_back_to_classic_diff

By passing the 'xpp' and 'env' argument directly to the function
'fall_back_to_classic_diff', we eliminate an occurrence of the 'index'
in histogram_diff, which will prove useful in a bit.

While at it, move it up in the file. This will make the diff of
one of the next patches more legible.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xhistogram.c