mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-11 18:26:50 +00:00
for windows and docker usage compatibilities, force certain files to use LF line endings, even on Windows
This commit is contained in:
10
.gitattributes
vendored
10
.gitattributes
vendored
@@ -1,3 +1,11 @@
|
|||||||
|
# Set default behavior to automatically normalize line endings.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
# Set line endings to LF, even on Windows. Otherwise, execution within Docker fails.
|
# Set line endings to LF, even on Windows. Otherwise, execution within Docker fails.
|
||||||
# See https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#per-repository-settings
|
# See https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#per-repository-settings
|
||||||
*.sh text eol=lf
|
*.sh text eol=lf
|
||||||
|
|
||||||
|
# Same thing for following files, but they don't have an sh extension
|
||||||
|
pre-commit eol=lf
|
||||||
|
webpack-dev-server eol=lf
|
||||||
|
install-bundler eol=lf
|
||||||
Reference in New Issue
Block a user