Skip to content
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

Ensure .sh files retain LF when checked out on Windows. #55

Merged

Conversation

Projects
None yet
3 participants
@paulbouwer
Copy link
Contributor

commented Feb 12, 2019

See #54.

When cloning this repo in Windows, the LF line termination ends up as CRLF. This results in issues when running ./deploy/deploy-all.sh via WSL or a Linux container.

Adding this file and ensuring .sh files retain LF as their line termination, makes the out the box experience better for all users.

Ensure .sh files retain LF when checked out on Windows.
Signed-off-by: Paul Bouwer <paul.bouwer@gmail.com>

@paulbouwer paulbouwer force-pushed the paulbouwer:add-gitattributes-for-sh-files branch from ad74546 to 0b2d311 Feb 12, 2019

@paulbouwer

This comment has been minimized.

Copy link
Contributor Author

commented Feb 12, 2019

I signed it

maxsmythe added some commits May 11, 2019

@maxsmythe

This comment has been minimized.

Copy link
Contributor

commented Jul 2, 2019

Thanks!

@maxsmythe maxsmythe merged commit 861c7dd into open-policy-agent:master Jul 2, 2019

3 checks passed

DCO DCO
Details
cla/linuxfoundation maxsmythe authorized
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.