summaryrefslogtreecommitdiff
path: root/LGPL-2.1
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-09-13 05:35:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-12 23:27:38 -0700
commitb4c7aab7b9fa7f97c6328751b2cc429189b08514 (patch)
tree7fa3678faea7f33c67209c59ce79880741114062 /LGPL-2.1
parentdifftool: prepare "struct child_process" in cmd_difftool() (diff)
downloadtgif-b4c7aab7b9fa7f97c6328751b2cc429189b08514.tar.xz
difftool: prepare "diff" cmdline in cmd_difftool()
We call into either run_dir_diff() or run_file_diff(), each of which sets up a child argv starting with "diff" and some hard-coded options (depending on which mode we're using). Let's extract that logic into the caller, which will make it easier to modify the options for cases which affect both functions. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'LGPL-2.1')
0 files changed, 0 insertions, 0 deletions