You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/mdsource/text-file-settings.include.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ All text extensions of `*.verified.*` should have:
14
14
*`eol` set to `lf`
15
15
*`working-tree-encoding` set to `UTF-8`
16
16
17
+
Note: `working-tree-encoding=UTF-8` is correct even though Verify writes files with a BOM. Git doesn't strip or add the BOM — it just passes through transparently. The `UTF-8-BOM` encoding would explicitly add a BOM on checkout and strip it on commit (so the internal blob differs from the working tree), but that's not the desired behavior since Verify writes the BOM itself and it should be preserved in the blob too.
18
+
17
19
All Binary files should also be marked to avoid merging and line ending issues with binary files.
0 commit comments