Skip to content

Commit f4bf250

Browse files
Check core.longpaths using --global instead of --system on Windows
1 parent 12326f2 commit f4bf250

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
@@ -105,7 +105,7 @@ async def ensure_git_installed() -> None:
105105
f"due to long file paths:{Colors.END}",
106106
)
107107
print(f"{Colors.RED}To avoid this issue, consider enabling long path support with:{Colors.END}")
108-
print(f"{Colors.RED} git config --system core.longpaths true{Colors.END}")
108+
print(f"{Colors.RED} git config --global core.longpaths true{Colors.END}")
109109
print(f"{Colors.RED}Note: This command may require administrator privileges.{Colors.END}")
110110
except RuntimeError:
111111
# Ignore if checking 'core.longpaths' fails.

0 commit comments

Comments
 (0)