Skip to content

Commit ca7a71e

Browse files
Use 'git config core.longpaths' without level
1 parent e24f1f8 commit ca7a71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitingest/utils/git_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async def ensure_git_installed() -> None:
9898
raise RuntimeError(msg) from exc
9999
if sys.platform == "win32":
100100
try:
101-
stdout, _ = await run_command("git", "config", "--global", "core.longpaths")
101+
stdout, _ = await run_command("git", "config", "core.longpaths")
102102
if stdout.decode().strip().lower() != "true":
103103
print(
104104
f"{Colors.BROWN}WARN{Colors.END}: {Colors.RED}Git clone may fail on Windows "

0 commit comments

Comments
 (0)