Commit cc5b594
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>1 parent b4c7aab commit cc5b594
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | | - | |
669 | 668 | | |
670 | 669 | | |
671 | 670 | | |
672 | 671 | | |
673 | | - | |
674 | 672 | | |
675 | 673 | | |
676 | 674 | | |
677 | 675 | | |
678 | 676 | | |
679 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
680 | 681 | | |
681 | | - | |
682 | | - | |
683 | | - | |
| 682 | + | |
684 | 683 | | |
685 | 684 | | |
686 | 685 | | |
| |||
770 | 769 | | |
771 | 770 | | |
772 | 771 | | |
773 | | - | |
| 772 | + | |
774 | 773 | | |
0 commit comments