diff options
author | Jeff King <peff@peff.net> | 2021-09-13 05:35:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-12 23:27:38 -0700 |
commit | b4c7aab7b9fa7f97c6328751b2cc429189b08514 (patch) | |
tree | 7fa3678faea7f33c67209c59ce79880741114062 /LGPL-2.1 | |
parent | difftool: prepare "struct child_process" in cmd_difftool() (diff) | |
download | tgif-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