summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-01-17 15:54:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-17 21:32:47 (GMT)
commitbe8a90e59ce4c7603207a8255284fdbbffff1a2e (patch)
treebe1a651a06850211075cde9c5d95f3f3fc684faf /builtin.h
parente2b2d6a172b76d44cb7b1ddb12ea5bfac9613a44 (diff)
downloadgit-be8a90e59ce4c7603207a8255284fdbbffff1a2e.zip
git-be8a90e59ce4c7603207a8255284fdbbffff1a2e.tar.gz
git-be8a90e59ce4c7603207a8255284fdbbffff1a2e.tar.bz2
difftool: add a skeleton for the upcoming builtin
This adds a builtin difftool that still falls back to the legacy Perl version, which has been renamed to `legacy-difftool`. The idea is that the new, experimental, builtin difftool immediately hands off to the legacy difftool for now, unless the config variable difftool.useBuiltin is set to true. This feature flag will be used in the upcoming Git for Windows v2.11.0 release, to allow early testers to opt-in to use the builtin difftool and flesh out any bugs. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index b9122bc..67f8051 100644
--- a/builtin.h
+++ b/builtin.h
@@ -60,6 +60,7 @@ extern int cmd_diff_files(int argc, const char **argv, const char *prefix);
extern int cmd_diff_index(int argc, const char **argv, const char *prefix);
extern int cmd_diff(int argc, const char **argv, const char *prefix);
extern int cmd_diff_tree(int argc, const char **argv, const char *prefix);
+extern int cmd_difftool(int argc, const char **argv, const char *prefix);
extern int cmd_fast_export(int argc, const char **argv, const char *prefix);
extern int cmd_fetch(int argc, const char **argv, const char *prefix);
extern int cmd_fetch_pack(int argc, const char **argv, const char *prefix);