File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,18 @@ environment as explained in the dedicated :doc:`document <tests>`.
54
54
Working on a Patch
55
55
------------------
56
56
57
- Each time you want to work on a patch for a bug or on an enhancement, create a
58
- topic branch:
57
+ Each time you want to work on a patch for a bug or on an enhancement, you need
58
+ to create a topic branch.
59
+
60
+ The branch should be based on the `master ` branch if you want to add a new
61
+ feature. But if you want to fix a bug, use the oldest but still maintained
62
+ version of Symfony where the bug happens (like `2.0 `).
63
+
64
+ Create the topic branch with the following command:
59
65
60
66
.. code-block :: bash
61
67
62
- $ git checkout -b BRANCH_NAME
68
+ $ git checkout -b BRANCH_NAME master
63
69
64
70
.. tip ::
65
71
@@ -149,6 +155,11 @@ with master, don't merge; and force the push to the origin:
149
155
All patches you are going to submit must be released under the MIT
150
156
license, unless explicitly specified in the code.
151
157
158
+ All bug fixes merged into maintenance branches are also merged into more
159
+ recent branches on a regular basis. For instance, if you submit a patch for
160
+ the `2.0 ` branch, the patch will also be applied by the core team on the
161
+ `master ` branch.
162
+
152
163
.. _ProGit : http://progit.org/
153
164
.. _GitHub : https://github.com/signup/free
154
165
.. _Symfony2 repository : https://github.com/symfony/symfony
You can’t perform that action at this time.
0 commit comments