Default GIT_MERGE_VERBOSITY to 5 during tests.
[gitweb.git] / t / t4101-apply-nonl.sh
index 26b131d0d5567a05e4ce7f386a06147e7b64fd88..026fac8c5534c5a269c1a89088bbe97a4dd30b87 100755 (executable)
@@ -20,14 +20,10 @@ do
   for j in 0 1 2 3
   do
     test $i -eq $j && continue
-    diff -u frotz.$i frotz.$j |
-    sed -e '
-       /^---/s|.*|--- a/frotz|
-       /^+++/s|.*|+++ b/frotz|' >diff.$i-$j
     cat frotz.$i >frotz
     test_expect_success \
         "apply diff between $i and $j" \
-       "git-apply <diff.$i-$j && diff frotz.$j frotz"
+       "git-apply <../t4101/diff.$i-$j && diff frotz.$j frotz"
   done
 done