@@ -303,21 +303,21 @@ number of pitfalls:
303303 attribute. If you decide to use the `working-tree-encoding` attribute
304304 in your repository, then it is strongly recommended to ensure that all
305305 clients working with the repository support it.
306-
307- For example, Microsoft Visual Studio resources files (`*.rc`) or
308- PowerShell script files (`*.ps1`) are sometimes encoded in UTF-16.
309- If you declare `*.ps1` as files as UTF-16 and you add `foo.ps1` with
310- a `working-tree-encoding` enabled Git client, then `foo.ps1` will be
311- stored as UTF-8 internally. A client without `working-tree-encoding`
312- support will checkout `foo.ps1` as UTF-8 encoded file. This will
313- typically cause trouble for the users of this file.
314-
315- If a Git client, that does not support the `working-tree-encoding`
316- attribute, adds a new file `bar.ps1`, then `bar.ps1` will be
317- stored "as-is" internally (in this example probably as UTF-16).
318- A client with `working-tree-encoding` support will interpret the
319- internal contents as UTF-8 and try to convert it to UTF-16 on checkout.
320- That operation will fail and cause an error.
306+ +
307+ For example, Microsoft Visual Studio resources files (`*.rc`) or
308+ PowerShell script files (`*.ps1`) are sometimes encoded in UTF-16.
309+ If you declare `*.ps1` as files as UTF-16 and you add `foo.ps1` with
310+ a `working-tree-encoding` enabled Git client, then `foo.ps1` will be
311+ stored as UTF-8 internally. A client without `working-tree-encoding`
312+ support will checkout `foo.ps1` as UTF-8 encoded file. This will
313+ typically cause trouble for the users of this file.
314+ +
315+ If a Git client, that does not support the `working-tree-encoding`
316+ attribute, adds a new file `bar.ps1`, then `bar.ps1` will be
317+ stored "as-is" internally (in this example probably as UTF-16).
318+ A client with `working-tree-encoding` support will interpret the
319+ internal contents as UTF-8 and try to convert it to UTF-16 on checkout.
320+ That operation will fail and cause an error.
321321
322322- Reencoding content to non-UTF encodings can cause errors as the
323323 conversion might not be UTF-8 round trip safe. If you suspect your
0 commit comments