-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Set core.longpaths option #4915
Conversation
@dscho, Could you please review ? |
|
||
if (Test-IsWin16) { | ||
$env:Path += ";$env:ProgramFiles\Git\usr\bin\" | ||
} | ||
|
||
# Set core.longpaths option to true in the system-wide [path]/etc/gitconfig file | ||
# https://github.com/git-for-windows/git/blob/main/Documentation/config/core.txt | ||
git config --system core.longpaths true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope that this feature is stable enough to enable as widely as on the build agents... Be prepared to roll back on short notice, it might break users' scenarios in surprising and dramatic ways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dscho, Thank you. It's better to be safe.
Description
https://github.com/git-for-windows/git/blob/main/Documentation/config/core.txt
Related issue:
#4913
Check list