config: add .gitattributes for cross-platform line ending consistency#951
Conversation
- Add comprehensive .gitattributes to normalize line endings - Ensure shell scripts always use LF (required for Unix execution) - Mark binary files explicitly to prevent corruption - Eliminate CRLF warnings for Windows contributors - Follow cross-platform best practices This fixes persistent 'LF will be replaced by CRLF' warnings that confuse Windows contributors during normal git operations. Fixes aden-hive#950
PR Closed - Requirements Not MetThis PR has been automatically closed because it doesn't meet the requirements. PR Author: @Emart29 To fix:
Why is this required? See #472 for details. |
|
@bryanadenhq This PR should qualify for the exception rule in #472: Exception Categories:
Rationale:
Could this be reopened under the configuration exception, or should I wait for assignment to #950? |
Hundao
left a comment
There was a problem hiding this comment.
Reopening this — looks good overall. One small fix needed, see review comment.
.gitattributes
Outdated
| # Database files (binary) | ||
| *.db binary | ||
| *.sqlite binary | ||
| *.sqlite3 binary No newline at end of file |
There was a problem hiding this comment.
Missing trailing newline at end of file.
Per review feedback from @Hundao
|
Fixed. Added trailing newline at end of file. Ready for merge. Thank you @Hundao for the review |
…aden-hive#951) * config: add .gitattributes for cross-platform line ending consistency - Add comprehensive .gitattributes to normalize line endings - Ensure shell scripts always use LF (required for Unix execution) - Mark binary files explicitly to prevent corruption - Eliminate CRLF warnings for Windows contributors - Follow cross-platform best practices This fixes persistent 'LF will be replaced by CRLF' warnings that confuse Windows contributors during normal git operations. Fixes aden-hive#950 * fix: add trailing newline at end of file Per review feedback from @Hundao
Description
Adds comprehensive
.gitattributesfile to normalize line endings across platforms and eliminate CRLF warnings for Windows contributors.Type of Change
Related Issues
Fixes #950
Changes Made
.gitattributesfile with comprehensive rulesTesting
Describe the tests you ran to verify your changes:
Before
.gitattributes:After
.gitattributes:Checklist
Screenshots (if applicable)
N/A - Configuration file
Additional Context
Standard cross-platform practice. Eliminates persistent CRLF warnings that confuse Windows contributors during normal git operations.