diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-01-17 16:54:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-17 13:32:47 -0800 |
commit | be8a90e59ce4c7603207a8255284fdbbffff1a2e (patch) | |
tree | be1a651a06850211075cde9c5d95f3f3fc684faf /builtin.h | |
parent | e2b2d6a172b76d44cb7b1ddb12ea5bfac9613a44 (diff) | |
download | git-be8a90e59ce4c7603207a8255284fdbbffff1a2e.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |