diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-09-13 06:35:39 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-13 09:27:38 +0300 |
commit | cc5b594788c3fc89ab5e84de2d657ddf36409821 (patch) | |
tree | 50a1318c85253eb6672240a356057c28ef9e4810 /parse-options.h | |
parent | b4c7aab7b9fa7f97c6328751b2cc429189b08514 (diff) |
difftool: use run_command() API in run_file_diff()
Change the run_file_diff() function to use the run_command() API
directly, instead of invoking the run_command_v_opt_cd_env() wrapper.
This allows it, like run_dir_diff(), to use the "args" from "struct
strvec", instead of the "const char **argv" passed into
cmd_difftool(). This will be used in the subsequent commit to get rid
of OPT_ARGUMENT() from cmd_difftool().
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.h')
0 files changed, 0 insertions, 0 deletions