Skip to content

Commit 77ffd39

Browse files
committed
updates per @stof
1 parent 30e5869 commit 77ffd39

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

contributing/code/patches.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,22 @@ Set up your user information with your real name and a working email address:
9696
.. tip::
9797

9898
Windows users: when installing Git, the installer will ask what to do with
99-
line endings and suggests to replace all Lf by CrLf. This is the wrong
100-
setting if you wish to contribute to Symfony! Either select the as-is method
101-
or the Lf method. If you have already installed Git, you can check the value
102-
of this setting by typing:
99+
line endings and suggests to replace all Lf by CRLF. This is the wrong
100+
setting if you wish to contribute to Symfony! Selecting the as-is method is
101+
your best choice, as git will convert your line feeds to the ones in the
102+
repository. If you have already installed Git, you can check the value of
103+
this setting by typing:
103104

104105
.. code-block:: bash
105106
106107
$ git config core.autocrlf
107108
108-
This will return either "false", "input" or "true", "true" being the wrong
109-
value. Set it to another value by typing:
109+
This will return either "false", "input" or "true", "true" and "false" being
110+
the wrong values. Set it to another value by typing:
110111

111112
.. code-block:: bash
112113
113-
$ git config --global core.autocrlf false
114+
$ git config --global core.autocrlf input
114115
115116
Replace --global by --local if you want to set it only for the active
116117
repository

0 commit comments

Comments
 (0)