Files
sure/.gitattributes
Jestin Palamuttam b8e7fe18ca Enforce LF line endings for .devcontainer/.bashrc (#2480)
On Windows, .devcontainer/.bashrc was checked out with CRLF line
endings (no .gitattributes rule covered it), causing the dev
container's bash to fail loading it with `$'\r': command not found`
errors and breaking the prompt's git-branch helper.

Add a `.devcontainer/.bashrc text eol=lf` rule so the file stays LF
on all platforms, following the existing convention for bin/*, *.sh
and *.rb.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 08:42:32 +02:00

19 lines
677 B
Plaintext

# See https://git-scm.com/docs/gitattributes for more about git attribute files.
# Mark the database schema as having been generated.
db/schema.rb linguist-generated
# Mark generated design system CSS (built from tokens/sure.tokens.json).
app/assets/tailwind/sure-design-system/_generated.css linguist-generated
# Mark any vendored files as having been vendored.
vendor/* linguist-vendored
config/credentials/*.yml.enc diff=rails_credentials
config/credentials.yml.enc diff=rails_credentials
# Ensure consistent line endings for scripts and Ruby files to avoid shebang issues on Windows
bin/* text eol=lf
*.sh text eol=lf
*.rb text eol=lf
.devcontainer/.bashrc text eol=lf