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.
1 parent 0c26358 commit 3ec1d6cCopy full SHA for 3ec1d6c
repo_helper_bot/__init__.py
@@ -34,3 +34,18 @@
34
35
# TODO: Sign commit
36
# See https://stackoverflow.com/questions/22968856/what-is-the-file-format-of-a-git-commit-object-data-structure
37
+
38
+# Temporary workaround for https://github.com/jelmer/dulwich/issues/1546
39
40
41
+def _extract_capabilities(text):
42
+ if b"\0" not in text:
43
+ return text, []
44
+ text, capabilities, *_ = text.rstrip().split(b"\0")
45
+ return (text, capabilities.strip().split(b" "))
46
47
48
+# 3rd party
49
+import dulwich.protocol
50
51
+dulwich.protocol.extract_capabilities = _extract_capabilities
0 commit comments