Skip to content

Commit 505068c

Browse files
BareninVitalyafilipchristiansen
authored andcommitted
Fix Windows compatibility: subprocess support and long path handling
1 parent ed44b65 commit 505068c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gitingest/utils/git_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import sys
99
from pathlib import Path
1010
from typing import TYPE_CHECKING, Final, Iterable
11+
import sys
1112
from urllib.parse import urlparse
1213

1314
import httpx
@@ -85,7 +86,7 @@ async def ensure_git_installed() -> None:
8586
Raises
8687
------
8788
RuntimeError
88-
If Git is not installed or not accessible.
89+
If Git is not installed or not accessible, or if enabling long paths fails.
8990
9091
"""
9192
try:

0 commit comments

Comments
 (0)