Commit 0d4217d
run_external_diff: hoist common bits out of conditional
Whether we have diff_filespecs to give to the diff command
or not, we always are going to run the program and pass it
the pathname. Let's pull that duplicated part out of the
conditional to make it more obvious.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 5b88caa commit 0d4217d
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2911 | 2911 | | |
2912 | 2912 | | |
2913 | 2913 | | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
2914 | 2917 | | |
2915 | 2918 | | |
2916 | 2919 | | |
2917 | 2920 | | |
2918 | 2921 | | |
2919 | | - | |
2920 | | - | |
2921 | 2922 | | |
2922 | 2923 | | |
2923 | 2924 | | |
| |||
2928 | 2929 | | |
2929 | 2930 | | |
2930 | 2931 | | |
2931 | | - | |
2932 | | - | |
2933 | | - | |
2934 | 2932 | | |
2935 | 2933 | | |
2936 | 2934 | | |
| |||
0 commit comments