summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/git/APKBUILD5
-rw-r--r--system/git/disable-t2082-2.patch36
2 files changed, 40 insertions, 1 deletions
diff --git a/system/git/APKBUILD b/system/git/APKBUILD
index c2860df51..4b721680d 100644
--- a/system/git/APKBUILD
+++ b/system/git/APKBUILD
@@ -28,6 +28,8 @@ source="https://www.kernel.org/pub/software/scm/git/git-$pkgver.tar.xz
dont-test-other-encodings.patch
git-daemon.initd
git-daemon.confd
+
+ disable-t2082-2.patch
"
_gitcoredir=/usr/libexec/git-core
@@ -168,4 +170,5 @@ subtree() {
sha512sums="a1a8e9e6f64b1da25508fbd2f783564dcdbe181fb5ff1ebab3bdac6db6094e18acc334479a1abf22ac17ce4f733cc3e10a664db9ab234cd523735a3f027b42db git-2.34.1.tar.xz
0a0935d876024d96156df3aeec06b47fd9e370484d4552786c450cb500ae671a631e64c30994ec39f43a2f313f75d68909688ea92b47327d1af65e365dc77480 dont-test-other-encodings.patch
89528cdd14c51fd568aa61cf6c5eae08ea0844e59f9af9292da5fc6c268261f4166017d002d494400945e248df6b844e2f9f9cd2d9345d516983f5a110e4c42a git-daemon.initd
-fbf1f425206a76e2a8f82342537ed939ff7e623d644c086ca2ced5f69b36734695f9f80ebda1728f75a94d6cd2fcb71bf845b64239368caab418e4d368c141ec git-daemon.confd"
+fbf1f425206a76e2a8f82342537ed939ff7e623d644c086ca2ced5f69b36734695f9f80ebda1728f75a94d6cd2fcb71bf845b64239368caab418e4d368c141ec git-daemon.confd
+6d7cbb701584a078328056a67bfd32dde5795a80c0911734b38bd534699fb0165ac2b486b267c5c39b90bbb0d7c5ab0ab6ada1d068748865617326da28304eb4 disable-t2082-2.patch"
diff --git a/system/git/disable-t2082-2.patch b/system/git/disable-t2082-2.patch
new file mode 100644
index 000000000..b18a9caa7
--- /dev/null
+++ b/system/git/disable-t2082-2.patch
@@ -0,0 +1,36 @@
+--- a/t/t2082-parallel-checkout-attributes.sh 2021-11-24 19:29:21.000000000 +0000
++++ b/t/t2082-parallel-checkout-attributes.sh 2022-01-12 17:29:58.890000000 +0000
+@@ -33,33 +33,6 @@
+ )
+ '
+
+-test_expect_success 'parallel-checkout with re-encoding' '
+- set_checkout_config 2 0 &&
+- git init encoding &&
+- (
+- cd encoding &&
+- echo text >utf8-text &&
+- write_utf16 <utf8-text >utf16-text &&
+-
+- echo "A working-tree-encoding=UTF-16" >.gitattributes &&
+- cp utf16-text A &&
+- cp utf8-text B &&
+- git add A B .gitattributes &&
+- git commit -m encoding &&
+-
+- # Check that A is stored in UTF-8
+- git cat-file -p :A >A.internal &&
+- test_cmp_bin utf8-text A.internal &&
+-
+- rm A B &&
+- test_checkout_workers 2 git checkout A B &&
+-
+- # Check that A (and only A) is re-encoded during checkout
+- test_cmp_bin utf16-text A &&
+- test_cmp_bin utf8-text B
+- )
+-'
+-
+ test_expect_success 'parallel-checkout with eol conversions' '
+ set_checkout_config 2 0 &&
+ git init eol &&