summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/committing-code.txt
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2017-04-20 17:32:56 +0200
committerTim Graham <timograham@gmail.com>2017-04-20 11:32:56 -0400
commit6d7cbe67f0a91ce3c576b41dc5650e1e4cdbd4e2 (patch)
treee1074144c3f1a5bf2bbd79d33291eb1ea7a99649 /docs/internals/contributing/committing-code.txt
parentaf1f986360dc6bb6e75e960dbc191707541128ac (diff)
Removed inappropriate highlighting in committing-code.txt.
Diffstat (limited to 'docs/internals/contributing/committing-code.txt')
-rw-r--r--docs/internals/contributing/committing-code.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/internals/contributing/committing-code.txt b/docs/internals/contributing/committing-code.txt
index fd526b1dd6..4ce8576702 100644
--- a/docs/internals/contributing/committing-code.txt
+++ b/docs/internals/contributing/committing-code.txt
@@ -131,7 +131,9 @@ Django's Git repository:
The commit message should be in lines of 72 chars maximum. There should be
a subject line, separated by a blank line and then paragraphs of 72 char
lines. The limits are soft. For the subject line, shorter is better. In the
- body of the commit message more detail is better than less::
+ body of the commit message more detail is better than less:
+
+ .. code-block:: none
Fixed #18307 -- Added git workflow guidelines
@@ -183,13 +185,17 @@ Django's Git repository:
is the number of the ticket your commit references. This will automatically
post a comment to the appropriate ticket.
-* Write commit messages for backports using this pattern::
+* Write commit messages for backports using this pattern:
+
+ .. code-block:: none
[<Django version>] Fixed <ticket> -- <description>
Backport of <revision> from <branch>.
- For example::
+ For example:
+
+ .. code-block:: none
[1.3.x] Fixed #17028 -- Changed diveintopython.org -> diveintopython.net.