We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ff999e + d50b2c7 commit b22d301Copy full SHA for b22d301
t/t7800-difftool.sh
@@ -83,6 +83,17 @@ test_expect_success PERL 'difftool ignores bad --tool values' '
83
test "$diff" = ""
84
'
85
86
+test_expect_success PERL 'difftool forwards arguments to diff' '
87
+ >for-diff &&
88
+ git add for-diff &&
89
+ echo changes>for-diff &&
90
91
+ diff=$(git difftool --cached --no-prompt -- for-diff) &&
92
+ test "$diff" = "" &&
93
+ git reset -- for-diff &&
94
+ rm for-diff
95
+'
96
+
97
test_expect_success PERL 'difftool honors --gui' '
98
git config merge.tool bogus-tool &&
99
git config diff.tool bogus-tool &&
0 commit comments