diff: move show_interdiff() from its own file to diff-lib
commitcdffbdc217aba8a39d786a642d1376a5a605adec
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 8 Sep 2020 07:16:08 +0000 (8 03:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Sep 2020 22:03:26 +0000 (8 15:03 -0700)
tree212d466731fac04ad80903848f647a52d9a3bf04
parent3a238e539bcdfe3f9eb5010fd218640c1b499f7a
diff: move show_interdiff() from its own file to diff-lib

show_interdiff() is a relatively small function and not likely to grow
larger or more complicated. Rather than dedicating an entire source file
to it, relocate it to diff-lib.c which houses other "take two things and
compare them" functions meant to be re-used but not so low-level as to
reside in the core diff implementation.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/log.c
diff-lib.c
diff.h
interdiff.c [deleted file]
interdiff.h [deleted file]
log-tree.c