Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2020-09-08 10:16:08 +0300
committerJunio C Hamano <gitster@pobox.com>2020-09-09 01:03:26 +0300
commitcdffbdc217aba8a39d786a642d1376a5a605adec (patch)
tree212d466731fac04ad80903848f647a52d9a3bf04 /builtin/log.c
parent3a238e539bcdfe3f9eb5010fd218640c1b499f7a (diff)
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>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index b58f8da09ef..ae9380da1be 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -33,7 +33,6 @@
#include "commit-slab.h"
#include "repository.h"
#include "commit-reach.h"
-#include "interdiff.h"
#include "range-diff.h"
#define MAIL_DEFAULT_WRAP 72