summaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-31 22:15:00 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-31 22:15:00 +0100
commitb7786bb4b09463641f3e39eca18aefc630ee4f38 (patch)
tree63238e141abb3839d670e50a39b8da7ceb1fe2f7 /git.c
parentMerge branch 'rs/qsort-s' (diff)
parentdifftool: hack around -Wzero-length-format warning (diff)
downloadgit-b7786bb4b09463641f3e39eca18aefc630ee4f38.tar.xz
git-b7786bb4b09463641f3e39eca18aefc630ee4f38.zip
Merge branch 'js/difftool-builtin'
Rewrite a scripted porcelain "git difftool" in C. * js/difftool-builtin: difftool: hack around -Wzero-length-format warning difftool: retire the scripted version difftool: implement the functionality in the builtin difftool: add a skeleton for the upcoming builtin
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index b367cf6686..1cf125cd28 100644
--- a/git.c
+++ b/git.c
@@ -424,6 +424,7 @@ static struct cmd_struct commands[] = {
{ "diff-files", cmd_diff_files, RUN_SETUP | NEED_WORK_TREE },
{ "diff-index", cmd_diff_index, RUN_SETUP },
{ "diff-tree", cmd_diff_tree, RUN_SETUP },
+ { "difftool", cmd_difftool, RUN_SETUP | NEED_WORK_TREE },
{ "fast-export", cmd_fast_export, RUN_SETUP },
{ "fetch", cmd_fetch, RUN_SETUP },
{ "fetch-pack", cmd_fetch_pack, RUN_SETUP },