Skip to content

Commit 26e75df

Browse files
committed
Merge branch 'main' of github.com:mkdocstrings/griffe
2 parents 399d1c4 + 9a5d014 commit 26e75df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/griffe/_internal/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _normalize(value: str) -> str:
3434

3535

3636
def _git(*args: str, check: bool = True) -> str:
37-
process = subprocess.run(["git", *args], check=False, text=True, capture_output=True)
37+
process = subprocess.run(["git", *args], check=False, text=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
3838
if check and process.returncode != 0:
3939
raise GitError(process.stdout.strip())
4040
return process.stdout.strip()

0 commit comments

Comments
 (0)