about summary refs log tree commit diff
path: root/third_party/git/t/t4028-format-patch-mime-headers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t4028-format-patch-mime-headers.sh')
-rwxr-xr-xthird_party/git/t/t4028-format-patch-mime-headers.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/third_party/git/t/t4028-format-patch-mime-headers.sh b/third_party/git/t/t4028-format-patch-mime-headers.sh
deleted file mode 100755
index 204ba673cb..0000000000
--- a/third_party/git/t/t4028-format-patch-mime-headers.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-test_description='format-patch mime headers and extra headers do not conflict'
-. ./test-lib.sh
-
-test_expect_success 'create commit with utf-8 body' '
-	echo content >file &&
-	git add file &&
-	git commit -m one &&
-	echo more >>file &&
-	git commit -a -m "two
-
-	utf-8 body: ñ"
-'
-
-test_expect_success 'patch has mime headers' '
-	rm -f 0001-two.patch &&
-	git format-patch HEAD^ &&
-	grep -i "content-type: text/plain; charset=utf-8" 0001-two.patch
-'
-
-test_expect_success 'patch has mime and extra headers' '
-	rm -f 0001-two.patch &&
-	git config format.headers "x-foo: bar" &&
-	git format-patch HEAD^ &&
-	grep -i "x-foo: bar" 0001-two.patch &&
-	grep -i "content-type: text/plain; charset=utf-8" 0001-two.patch
-'
-
-test_done