aboutsummaryrefslogtreecommitdiff
path: root/t/t4255-am-submodule.sh
diff options
context:
space:
mode:
authorDoug Kelly <dougk.ff7@gmail.com>2015-01-07 14:32:12 -0600
committerJunio C Hamano <gitster@pobox.com>2015-01-07 19:45:05 -0800
commit339de5089115b6d8d85c73c1b8d2aa281e9625d2 (patch)
tree2e28ebb41960d3f68b803c927098872a7fa63934 /t/t4255-am-submodule.sh
parentfe7611c46f34cc4164a719a94e88e13ca5c978b1 (diff)
downloadgit-339de5089115b6d8d85c73c1b8d2aa281e9625d2.tar.gz
git-339de5089115b6d8d85c73c1b8d2aa281e9625d2.tar.xz
format-patch: ignore diff.submodule setting
diff.submodule when set to log produces output which git-am cannot handle. Ignore this setting when generating patch output. Signed-off-by: Doug Kelly <dougk.ff7@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4255-am-submodule.sh')
-rwxr-xr-xt/t4255-am-submodule.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4255-am-submodule.sh b/t/t4255-am-submodule.sh
index 450d26136..0ba819440 100755
--- a/t/t4255-am-submodule.sh
+++ b/t/t4255-am-submodule.sh
@@ -80,12 +80,12 @@ test_expect_success 'diff.submodule unset with extra file' '
run_test $THIRD second-submodule
'
-test_expect_failure 'diff.submodule=log' '
+test_expect_success 'diff.submodule=log' '
test_config diff.submodule log &&
run_test $SECOND first-submodule
'
-test_expect_failure 'diff.submodule=log with extra file' '
+test_expect_success 'diff.submodule=log with extra file' '
test_config diff.submodule log &&
run_test $THIRD second-submodule
'