Skip to content

Commit e10bfc0

Browse files
Check core.longpaths using --global instead of --system on Windows
1 parent d284d75 commit e10bfc0

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

0 commit comments

Comments
 (0)