i have mixed ubuntu, os x , windows git repository containing .bat
, .cmd
files targeted use on windows 7 , greater. core.autocrlf
set input
, , post-checkout
these files have lf
line endings in working directory instead of crlf
line-endings started out with.
will cause problems windows batch execution? in cases might difference significant? have yet see issue wish code defensively.
you can override batch files using following .gitattributes
file:
*.bat text eol=crlf
from is safe write batch files unix line endings? there comment labels not working correctly lf. fix easy enough.
Comments
Post a Comment