Skip to content

Commit da17e86

Browse files
Add .gitattributes to enforce LF line endings for consistent reviewmark fingerprints (#71)
* Initial plan * Add .gitattributes to enforce LF line endings for consistent reviewmark fingerprints Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> Agent-Logs-Url: https://github.com/demaconsulting/TemplateDotNetTool/sessions/6287dd55-3414-4e9b-aa8a-a808d7358e91 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
1 parent e0ba42e commit da17e86

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Set default behavior: normalize line endings to LF on checkout for all text files.
2+
# This ensures consistent SHA256 fingerprints for reviewmark across all platforms.
3+
* text=auto eol=lf
4+
5+
# Windows batch files require CRLF line endings to function correctly.
6+
*.bat text eol=crlf
7+
*.cmd text eol=crlf

0 commit comments

Comments
 (0)