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.
2 parents 399d1c4 + 9a5d014 commit 26e75dfCopy full SHA for 26e75df
1 file changed
src/griffe/_internal/git.py
@@ -34,7 +34,7 @@ def _normalize(value: str) -> str:
34
35
36
def _git(*args: str, check: bool = True) -> str:
37
- process = subprocess.run(["git", *args], check=False, text=True, capture_output=True)
+ process = subprocess.run(["git", *args], check=False, text=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
38
if check and process.returncode != 0:
39
raise GitError(process.stdout.strip())
40
return process.stdout.strip()
0 commit comments