]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
devguide: highlight commit message example 11179/head
authorJuliana Fajardini <jufajardini@oisf.net>
Wed, 29 May 2024 15:24:30 +0000 (12:24 -0300)
committerVictor Julien <victor@inliniac.net>
Wed, 29 May 2024 18:45:05 +0000 (20:45 +0200)
Although we have the example for a commit message in our Code Submission
Process sub-chapter, seems that people still oversee it a lot. It was
suggested that we put it in a note-box, to make it more visible.

doc/userguide/devguide/contributing/code-submission-process.rst

index e6a0f2fd33c80c9c843f5d70bef50beb82423c05..05898ce319fc9e743fd2940d771d3707264eccd5 100644 (file)
@@ -32,15 +32,17 @@ Information that needs to be part of a commit (if applicable):
 #. Coverity Scan issues addressed.
 #. Static analyzer error it fixes (cppcheck/scan-build/etc)
 
-When in doubt, check our git history for other messages or changes done to the
-same module your're working on. This is a good example of a `commit message
-<https://github.com/OISF/suricata/commit/33fca4d4db112b75ffa22eb2e6f14f038cbcc1f9>`_::
+.. note::
 
-    pcap/file: normalize file timestamps
+    When in doubt, check our git history for other messages or changes done to the
+    same module your're working on. This is a good example of a `commit message
+    <https://github.com/OISF/suricata/commit/33fca4d4db112b75ffa22eb2e6f14f038cbcc1f9>`_::
 
-    Normalize the timestamps that are too far in the past to epoch.
+       pcap/file: normalize file timestamps
 
-    Bug: #6240.
+       Normalize the timestamps that are too far in the past to epoch.
+
+       Bug: #6240.
 
 .. _pull-requests-criteria: