Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For Windows environment we currently ask developers to change their global git config, which is sometimes annoying and troublesome because 1) such steps are not necessary on other platforms and 2) developers who forget to restore their original config may be seeing build errors in other repositories that are not compatible with our line ending policy.
mozc/docs/build_mozc_in_windows.md
Lines 45 to 54 in a76205e
It seems that
.gitattributes
is a better way to apply such a policy. As far as I've locally tested, the following configuration works fine, even if I setgit config --global core.autocrlf true
andgit config --global core.eol crlf
.@hiroyuki-komatsu what do you think? If it sounds good I'll send a PR.
Beta Was this translation helpful? Give feedback.
All reactions