weblate/.gitattributes
Michal Čihař 4faad91af3 fix: make sure dev Docker start-dev is always using unix EOL
Make sure this uses a UNIX end of lines, otherwise the Docker
container fails to start on Windows with:
  exec /app/bin/start-dev: no such file or directory

See #15536
2025-07-30 08:13:43 +02:00

24 lines
840 B
Text

# Make GitHub syntax-highlight .html files as Django templates
*.html linguist-language=django
# Annotate vendored files for GitHub
weblate/static/vendor/* linguist-vendored
weblate/static/js/vendor/* linguist-vendored
# Annotate generated files for GitHub
docs/specs/* linguist-generated
# Merge changes using union merge
docs/changes.rst merge=union
# make .po/.pot files less noisy, need to configure git first:
# $ git config diff.msgcat.textconv "msgcat --no-location --no-wrap --sort-output"
# to enable caching in "notes/textconv/msgcat":
# $ git config diff.msgcat.cachetextconv true
*.pot diff=msgcat
*.po diff=msgcat
# Make sure this uses a UNIX end of lines, otherwise the Docker
# container fails to start on Windows with:
# exec /app/bin/start-dev: no such file or directory
dev-docker/weblate-dev/start-dev text eol=lf