xdiff/histogram: remove tail recursion
commit79cb2ebb92c18af11edf5eea238425d86eef173d
authorStefan Beller <sbeller@google.com>
Thu, 19 Jul 2018 22:19:42 +0000 (19 15:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jul 2018 17:12:16 +0000 (23 10:12 -0700)
tree3e41f104e579b7940af35b79d70e17b2312ba8ce
parent64c4e8bccde9d357f6b7adf5277c3157b2bd0d42
xdiff/histogram: remove tail recursion

When running the same reproduction script as the previous patch,
it turns out the stack is too small, which can be easily avoided.

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