Thanks to visit codestin.com Credit goes to github.com
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 abde3ea commit ed36bd9Copy full SHA for ed36bd9
git/objects/commit.py
@@ -372,7 +372,7 @@ def trailers_list(self) -> List[Tuple[str, str]]:
372
"""
373
cmd = ["git", "interpret-trailers", "--parse"]
374
proc: Git.AutoInterrupt = self.repo.git.execute(cmd, as_process=True, istream=PIPE) # type: ignore
375
- trailer: str = proc.communicate(str(self.message).encode())[0].decode()
+ trailer: str = proc.communicate(str(self.message).encode())[0].decode("utf8")
376
trailer = trailer.strip()
377
378
if not trailer:
0 commit comments