Skip to content

Commit 3b1439e

Browse files
committed
.
1 parent 3638c12 commit 3b1439e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/mdsource/text-file-settings.include.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ All text extensions of `*.verified.*` should have:
1414
* `eol` set to `lf`
1515
* `working-tree-encoding` set to `UTF-8`
1616

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+
1719
All Binary files should also be marked to avoid merging and line ending issues with binary files.
1820

1921
eg add the following to `.gitattributes`

0 commit comments

Comments
 (0)