<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.openembedded.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Benjamin</id>
	<title>Openembedded.org - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.openembedded.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Benjamin"/>
	<link rel="alternate" type="text/html" href="https://www.openembedded.org/wiki/Special:Contributions/Benjamin"/>
	<updated>2026-04-30T16:51:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=Commit_Patch_Message_Guidelines&amp;diff=8429</id>
		<title>Commit Patch Message Guidelines</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=Commit_Patch_Message_Guidelines&amp;diff=8429"/>
		<updated>2016-01-15T21:13:16Z</updated>

		<summary type="html">&lt;p&gt;Benjamin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This set of guidelines is intended to help both the developer and reviewers of&lt;br /&gt;
changes determine reasonable patch headers and change commit messages. Often&lt;br /&gt;
when working with the code, you forget that not everyone is as familiar with the&lt;br /&gt;
problem and/or fix as you are. Often the next person in the code doesn&#039;t&lt;br /&gt;
understand what or why something is done so they quickly look at patch header&lt;br /&gt;
and commit messages. Unless these messages are clear it will be difficult to&lt;br /&gt;
understand the relevance of a given change and how future changes may impact&lt;br /&gt;
previous decisions.&lt;br /&gt;
&lt;br /&gt;
This policy refers both to patches that are being applied by recipes as well as&lt;br /&gt;
commit messages that are part of the source control system, usually git. A patch&lt;br /&gt;
file needs a header in order to describe the specific changes that are made&lt;br /&gt;
within that patch, while a commit message describes one or more changes to the&lt;br /&gt;
overall project or system. Both the patch headers and commit messages require&lt;br /&gt;
the same attention and basic details, however the purposes of the messages are&lt;br /&gt;
slightly different. A commit message documents all of the changes made as part&lt;br /&gt;
of a commit, while a patch header documents items specific to a single patch. In&lt;br /&gt;
many cases the patch header can also be used as the commit message.&lt;br /&gt;
&lt;br /&gt;
This policy does not cover the testing of the changes, the technical criteria&lt;br /&gt;
for accepting a patch, nor the style requirements for the technical changes.  See &lt;br /&gt;
the [http://www.openembedded.org/wiki/Styleguide Styleguide] for more information on style requirements.&lt;br /&gt;
&lt;br /&gt;
By following these guidelines we will have a better record of the problems and&lt;br /&gt;
solutions made over the course of development. It will also help establish a&lt;br /&gt;
clear provenance of all of the code and changes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Approved by the Technical Steering Committee 2011/06/09.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== General Information ==&lt;br /&gt;
&lt;br /&gt;
While specific to the Linux kernel development, the following could also be&lt;br /&gt;
considered a general guide for any Open Source development:&lt;br /&gt;
&lt;br /&gt;
http://ldn.linuxfoundation.org/book/how-participate-linux-community&lt;br /&gt;
&lt;br /&gt;
Many of the guidelines in this document are related to the items in that&lt;br /&gt;
information.&lt;br /&gt;
&lt;br /&gt;
Pay particular attention to section 5.3 that talks about patch preparation.&lt;br /&gt;
The key thing to remember is to break up your changes into logical sections.&lt;br /&gt;
Otherwise you run the risk of not being able to even explain the purpose of a&lt;br /&gt;
change in the patch headers!&lt;br /&gt;
&lt;br /&gt;
In addition section 5.4 explains the purpose of the Signed-off-by: tag line as&lt;br /&gt;
discussed in later parts of this document. Due to the importance of the&lt;br /&gt;
Signed-off-by: tag line a copy of the description follows:&lt;br /&gt;
&lt;br /&gt;
   Signed-off-by: this is a developer&#039;s certification that he or she has&lt;br /&gt;
   the right to submit the patch for inclusion into the [project].  It is&lt;br /&gt;
   an agreement to the Developer&#039;s Certificate of Origin, the full text of&lt;br /&gt;
   which can be found in [Linux Kernel] Documentation/SubmittingPatches.&lt;br /&gt;
   Code without a proper signoff cannot be merged into the mainline.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information on the Developer&#039;s Certificate of Origin and the Linux&lt;br /&gt;
Kernel Documentation/SubmittingPatches, see:&lt;br /&gt;
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/SubmittingPatches&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Patch Headers and Commit Messages ==&lt;br /&gt;
&lt;br /&gt;
There seems to always be a question or two surrounding what a person&lt;br /&gt;
should put in a patch header, or commit message.&lt;br /&gt;
&lt;br /&gt;
The general rules always apply, those being that there is a single line&lt;br /&gt;
short log or summary of the change (think of this as the subject when the patch&lt;br /&gt;
is e-mailed), and then the more detailed long log, and closure with tag lines&lt;br /&gt;
such as &amp;quot;Signed-off-by:&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== New Development ==&lt;br /&gt;
&lt;br /&gt;
A minimal patch or commit message would be of the format:&lt;br /&gt;
&lt;br /&gt;
   Short log / Statement of what needed to be changed.&lt;br /&gt;
   &lt;br /&gt;
   (Optional pointers to external resources, such as defect tracking)&lt;br /&gt;
   &lt;br /&gt;
   The intent of your change.&lt;br /&gt;
   &lt;br /&gt;
   (Optional, if it&#039;s not clear from above) how your change resolves the&lt;br /&gt;
   issues in the first part.&lt;br /&gt;
   &lt;br /&gt;
   Tag line(s) at the end.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
   foobar: Adjusted the foo setting in bar&lt;br /&gt;
   &lt;br /&gt;
   When using foobar on systems with less than a gigabyte of RAM common&lt;br /&gt;
   usage patterns often result in an Out-of-memory condition causing&lt;br /&gt;
   slowdowns and unexpected application termination.&lt;br /&gt;
   &lt;br /&gt;
   Low-memory systems should continue to function without running into&lt;br /&gt;
   memory-starvation conditions with minimal cost to systems with more&lt;br /&gt;
   available memory.  High-memory systems will be less able to use the&lt;br /&gt;
   full extent of the system, a dynamically tunable option may be best,&lt;br /&gt;
   long-term.&lt;br /&gt;
   &lt;br /&gt;
   The foo setting in bar was decreased from X to X-50% in order to&lt;br /&gt;
   ensure we don&#039;t exhaust all system memory with foobar threads.&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Joe Developer &amp;lt;joe.developer@example.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The minimal commit message is good for new code development and simple changes.&lt;br /&gt;
&lt;br /&gt;
The single short log message indicates what needed to be changed. It should&lt;br /&gt;
begin with an indicator as to the primary item changed by this work,&lt;br /&gt;
followed by a short summary of the change. In the above case we&#039;re indicating&lt;br /&gt;
that we&#039;ve changed the &amp;quot;foobar&amp;quot; item, by &amp;quot;adjusting the foo setting in bar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The single short log message is analogous to the git &amp;quot;commit summary&amp;quot;. While no&lt;br /&gt;
maximum line length is specified by this policy, it is suggested that it remains&lt;br /&gt;
under 78 characters wherever possible.&lt;br /&gt;
&lt;br /&gt;
Optionally, you may include pointers to defects this change corrects. Unless&lt;br /&gt;
the defect format is specified by the component you are modifying, it is&lt;br /&gt;
suggested that you use a full URL to specify the reference to the defect&lt;br /&gt;
information. Generally these pointers will precede any long description, but as&lt;br /&gt;
an optional item it may be after the long description.&lt;br /&gt;
&lt;br /&gt;
For example, you might refer to an open source defect in the RPM project:&lt;br /&gt;
&lt;br /&gt;
   rpm: Adjusted the foo setting in bar&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;nowiki&amp;gt;[RPM Ticket #65] -- http://rpm5.org/cvs/tktview?tn=65,5&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   The foo setting in bar was decreased from X to X-50% in order to&lt;br /&gt;
   ensure we don&#039;t exhaust all system memory with foobar threads.&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Joe Developer &amp;lt;joe.developer@example.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must then have a full description of the change. Specifying the intent of&lt;br /&gt;
your change and if necessary how the change resolves the issue.&lt;br /&gt;
&lt;br /&gt;
As mentioned above this is intended to answer the &amp;quot;what were you thinking&amp;quot;&lt;br /&gt;
questions down the road and to know what other impacts are likely to&lt;br /&gt;
result of the change needs to be reverted. It also allows for better&lt;br /&gt;
solutions if someone comes along later and agrees with paragraph 1&lt;br /&gt;
(the problem statement) and either disagrees with paragraph 2&lt;br /&gt;
(the design) or paragraph 3 (the implementation).&lt;br /&gt;
&lt;br /&gt;
Finally one or more tag lines should exist. Each developer responsible&lt;br /&gt;
for working on the patch is responsible for adding a Signed-off-by: tag line.&lt;br /&gt;
&lt;br /&gt;
It is not acceptable to have an empty or non-existent header, or just a single&lt;br /&gt;
line message. The summary and description is required for all changes.&lt;br /&gt;
&lt;br /&gt;
== Importing from Elsewhere ==&lt;br /&gt;
&lt;br /&gt;
If you are importing work from somewhere else, such as a cherry-pick from&lt;br /&gt;
another repository or a code patch pulled from a mailing list, the minimum patch&lt;br /&gt;
header or commit message is not enough. It does not clearly establish the&lt;br /&gt;
provenance of the code.&lt;br /&gt;
&lt;br /&gt;
The following specifies the additional guidelines required for importing changes&lt;br /&gt;
from elsewhere.&lt;br /&gt;
&lt;br /&gt;
By default you should keep the original author&#039;s summary and description,&lt;br /&gt;
along with any tag lines such as, &amp;quot;Signed-off-by:&amp;quot;. If the original change that&lt;br /&gt;
was imported does not have a summary and/or commit message from the original&lt;br /&gt;
author, it is still your responsibility to add the summary and commit message to&lt;br /&gt;
the patch header. Just as if you wrote the code, you should be able to clearly&lt;br /&gt;
explain what the change does. It is also necessary to document the original&lt;br /&gt;
author of the change. You should indicate the original author by simply stating&lt;br /&gt;
&amp;quot;written by&amp;quot; or &amp;quot;posted to the ... mailing list by&amp;quot;. You must not add a&lt;br /&gt;
Signed-off-by: tag line with their name, only the original author may add their&lt;br /&gt;
own Signed-off-by: tag line.&lt;br /&gt;
&lt;br /&gt;
It is also required that the origin of the work be fully documented. The origin&lt;br /&gt;
should be specified as part of the commit message in a way that an average&lt;br /&gt;
developer would be able to track down the original code. URLs should reference&lt;br /&gt;
original authoritative sources and not mirrors.&lt;br /&gt;
&lt;br /&gt;
If changes were required to resolve conflicts, they should be documented as&lt;br /&gt;
well.  When incorporating a commit or patch from an external source, changes to&lt;br /&gt;
the functionality not related to resolving conflicts should be made in a&lt;br /&gt;
second commit or patch.  This preserves the original external commit, and makes&lt;br /&gt;
the modifications clearly visible, and prevents confusion over the author of the&lt;br /&gt;
code.&lt;br /&gt;
&lt;br /&gt;
Finally you must add a &amp;quot;Signed-off-by:&amp;quot; tag line to indicate that you worked&lt;br /&gt;
with the patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Example: Importing from Elsewhere Unmodified ===&lt;br /&gt;
&lt;br /&gt;
For example, if you were to pull in the patch from the above example unmodified:&lt;br /&gt;
&lt;br /&gt;
   foobar: Adjusted the foo setting in bar&lt;br /&gt;
   &lt;br /&gt;
   When using foobar on systems with less than a gigabyte of RAM common&lt;br /&gt;
   usage patterns often result in an Out-of-memory condition causing&lt;br /&gt;
   slowdowns and unexpected application termination.&lt;br /&gt;
   &lt;br /&gt;
   Low-memory systems should continue to function without running into&lt;br /&gt;
   memory-starvation conditions with minimal cost to systems with more&lt;br /&gt;
   available memory.  High-memory systems will be less able to use the&lt;br /&gt;
   full extent of the system, a dynamically tunable option may be best,&lt;br /&gt;
   long-term.&lt;br /&gt;
   &lt;br /&gt;
   The foo setting in bar was decreased from X to X-50% in order to&lt;br /&gt;
   ensure we don&#039;t exhaust all system memory with foobar threads.&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Joe Developer &amp;lt;joe.developer@example.com&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   The patch was imported from the OpenEmbedded git server&lt;br /&gt;
   (&amp;lt;nowiki&amp;gt;git://git.openembedded.org/openembedded&amp;lt;/nowiki&amp;gt;) as of commit id&lt;br /&gt;
   b65a0e0c84cf489bfa00d6aa6c48abc5a237100f.&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Your Name &amp;lt;your.name@openembedded.org&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above example shows a clear way for a developer to find the original source&lt;br /&gt;
of the change. It indicates that the OpenEmbedded developer simply integrated&lt;br /&gt;
the change into the system without making any further modifications.&lt;br /&gt;
&lt;br /&gt;
=== Example: Importing from Elsewhere Modified ===&lt;br /&gt;
&lt;br /&gt;
When importing a patch, occasionally changes have to be made in order to resolve&lt;br /&gt;
conflicts.  The following is an example of the commit message when the item needed&lt;br /&gt;
to be modified:&lt;br /&gt;
&lt;br /&gt;
   foobar: Adjusted the foo setting in bar&lt;br /&gt;
   &lt;br /&gt;
   When using foobar on systems with less than a gigabyte of RAM common&lt;br /&gt;
   usage patterns often result in an Out-of-memory condition causing&lt;br /&gt;
   slowdowns and unexpected application termination.&lt;br /&gt;
   &lt;br /&gt;
   Low-memory systems should continue to function without running into&lt;br /&gt;
   memory-starvation conditions with minimal cost to systems with more&lt;br /&gt;
   available memory.  High-memory systems will be less able to use the&lt;br /&gt;
   full extent of the system, a dynamically tunable option may be best,&lt;br /&gt;
   long-term.&lt;br /&gt;
   &lt;br /&gt;
   The foo setting in bar was decreased from X to X-50% in order to&lt;br /&gt;
   ensure we don&#039;t exhaust all system memory with foobar threads.&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Joe Developer &amp;lt;joe.developer@example.com&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   The patch was imported from the OpenEmbedded git server&lt;br /&gt;
   (&amp;lt;nowiki&amp;gt;git://git.openembedded.org/openembedded&amp;lt;/nowiki&amp;gt;) as of commit id&lt;br /&gt;
   b65a0e0c84cf489bfa00d6aa6c48abc5a237100f.&lt;br /&gt;
   &lt;br /&gt;
   A previous change had modified the memory threshold calculation,&lt;br /&gt;
   causing a conflict.  The conflict was resolved by preserving the&lt;br /&gt;
   memory threshold calculation from the existing implementation.&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Your Name &amp;lt;your.name@openembedded.org&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Patch Header Recommendations ==&lt;br /&gt;
&lt;br /&gt;
In order to keep track of patches and ultimately reduce the number of patches&lt;br /&gt;
that are required to be maintained, we need to track the status of the patches&lt;br /&gt;
that are created. The following items are specific to patches applied by recipes.&lt;br /&gt;
&lt;br /&gt;
In addition to the items mentioned above, we also want to track if it&#039;s&lt;br /&gt;
appropriate to get this particular patch into the upstream project. Since we&lt;br /&gt;
want to track this information, we need a consistent tag and status indicator&lt;br /&gt;
that can be searched.&lt;br /&gt;
&lt;br /&gt;
While adding this tracking information to the patch headers is currently&lt;br /&gt;
optional, it is highly recommended and some maintainers may require it.  It is&lt;br /&gt;
optional at this time so that it can be evaluated as to its usefulness over&lt;br /&gt;
time.  Existing patches will be updated with the tag as they are modified.&lt;br /&gt;
&lt;br /&gt;
As mentioned in the above, be sure to include any URL to bug tracking, mailing&lt;br /&gt;
lists or other reference material pertaining to the patch. Then add a new tag&lt;br /&gt;
&amp;quot;Upstream-Status:&amp;quot; which contains one of the following items:&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;Pending&#039;&#039;&#039;&lt;br /&gt;
   - No determination has been made yet or not yet submitted to upstream&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;Submitted&#039;&#039;&#039; [where]&lt;br /&gt;
   - Submitted to upstream, waiting approval&lt;br /&gt;
   - Optionally include where it was submitted, such as the author, mailing&lt;br /&gt;
     list, etc.&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;Accepted&#039;&#039;&#039;&lt;br /&gt;
   - Accepted in upstream, expect it to be removed at next update, include&lt;br /&gt;
     expected version info&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;Backport&#039;&#039;&#039;&lt;br /&gt;
   - Backported from new upstream version, because we are at a fixed version,&lt;br /&gt;
     include upstream version info&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;Denied&#039;&#039;&#039;&lt;br /&gt;
   - Not accepted by upstream, include reason in patch&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;Inappropriate [reason]&#039;&#039;&#039;&lt;br /&gt;
   - The patch is not appropriate for upstream, include a brief reason on the&lt;br /&gt;
     same line enclosed with []&lt;br /&gt;
     reason can be:&lt;br /&gt;
       not author (You are not the author and do not intend to upstream this,&lt;br /&gt;
                   source must be listed in the comments)&lt;br /&gt;
       native&lt;br /&gt;
       licensing&lt;br /&gt;
       configuration&lt;br /&gt;
       enable feature&lt;br /&gt;
       disable feature&lt;br /&gt;
       bugfix (add bug URL here)&lt;br /&gt;
       embedded specific&lt;br /&gt;
       no upstream (the upstream is no longer available -- dead project)&lt;br /&gt;
       other (give details in comments)&lt;br /&gt;
&lt;br /&gt;
The various &amp;quot;Inappropriate [reason]&amp;quot; status items are meant to indicate that the&lt;br /&gt;
person responsible for adding this patch to the system does not intend to&lt;br /&gt;
upstream the patch for a specific reason.  Unless otherwise noted, another&lt;br /&gt;
person could submit this patch to the upstream, if they do the status should be&lt;br /&gt;
changed to &amp;quot;Submitted [where]&amp;quot;, and an additional Signed-off-by: line added to&lt;br /&gt;
the patch by the person claiming responsibility for upstreaming.&lt;br /&gt;
&lt;br /&gt;
For example, if the patch has been submitted upstream:&lt;br /&gt;
&lt;br /&gt;
   rpm: Adjusted the foo setting in bar&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;nowiki&amp;gt;[RPM Ticket #65] -- http://rpm5.org/cvs/tktview?tn=65,5&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   The foo setting in bar was decreased from X to X-50% in order to&lt;br /&gt;
   ensure we don&#039;t exhaust all system memory with foobar threads.&lt;br /&gt;
   &lt;br /&gt;
   Upstream-Status: Submitted [rpm5-devel@rpm5.org]&lt;br /&gt;
   &lt;br /&gt;
   Signed-off-by: Joe Developer &amp;lt;joe.developer@example.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A future commit can change the value to &amp;quot;Accepted&amp;quot; or &amp;quot;Denied&amp;quot; as appropriate.&lt;br /&gt;
&lt;br /&gt;
=== CVE Patches ===&lt;br /&gt;
&lt;br /&gt;
In order to have a better control of vulnerabilities, patches that fix CVEs must contain the &amp;quot;CVE:&amp;quot; tag. This tag list all CVEs fixed by the patch. If more than one CVE is fixed, separate them using spaces.&lt;br /&gt;
&lt;br /&gt;
==== Example: CVE patch header ====&lt;br /&gt;
&lt;br /&gt;
This should be the header of patch that fixes grub2 CVE-2015-8370:&lt;br /&gt;
&lt;br /&gt;
   Upstream-Status: Accepted&lt;br /&gt;
   CVE: CVE-2015-8370&lt;br /&gt;
   Signed-off-by: Joe Developer &amp;lt;joe.developer@example.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Common Errors in Patch and Commit Messages ==&lt;br /&gt;
&lt;br /&gt;
- Short log does not start with the file or component being modified.  Such as&lt;br /&gt;
&amp;quot;foo: Update to new upstream version 5.8.9&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- Avoid starting the summary line with a capital letter, unless the component&lt;br /&gt;
being referred to also begins with a capital letter.&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t have one huge patch, split your change into logical subparts. It&#039;s&lt;br /&gt;
easier to track down problems afterward using tools such as git bisect. It also&lt;br /&gt;
makes it easy for people to cherry-pick changes into things like stable branches.&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t simply translate your change into English for a commit log. The log&lt;br /&gt;
&amp;quot;Change compare from zero to one&amp;quot; is bad because it describes only the code&lt;br /&gt;
change in the patch; we can see that from reading the patch itself. Let the code&lt;br /&gt;
tell the story of the mechanics of the change (as much as possible), and let&lt;br /&gt;
your comment tell the other details -- i.e. what the problem was, how it&lt;br /&gt;
manifested itself (symptoms), and if necessary, the justification for why the&lt;br /&gt;
fix was done in manner that it was.  In other words, the long commit message&lt;br /&gt;
must describe *why* the change was needed (instead of what has changed).&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t start your commit log with &amp;quot;This patch...&amp;quot; -- we already know it is a patch.&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t repeat your short log in the long log. If you really really don&#039;t have&lt;br /&gt;
anything new and informational to add in as a long log, then don&#039;t put a long&lt;br /&gt;
log at all. This should be uncommon -- i.e. the only acceptable cases for no&lt;br /&gt;
long log would be something like &amp;quot;Documentation/README: Fix spelling mistakes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t put absolute paths to source files that are specific to your site, i.e.&lt;br /&gt;
if you get a compile error on &amp;quot;fs/exec.c&amp;quot; then tidy up the parts of the compile&lt;br /&gt;
output to just show that portion. We don&#039;t need to see that it was&lt;br /&gt;
/home/wally/src/git/oe-core/meta/classes/insane.bbclass or similar - that full&lt;br /&gt;
path has no value to others. Always reduce the path to something more&lt;br /&gt;
meaningful, such as oe-core/meta/classes/insane.bbclass.&lt;br /&gt;
&lt;br /&gt;
- Always use the most significant ramification of the change in the words of&lt;br /&gt;
your subject/shortlog. For example, don&#039;t say &amp;quot;fix compile warning in foo&amp;quot; when&lt;br /&gt;
the compiler warning was really telling us that we were dereferencing complete&lt;br /&gt;
garbage off in the weeds that could in theory cause an OOPS under some&lt;br /&gt;
circumstances. When people are choosing commits for backports to stable or&lt;br /&gt;
distro kernels, the shortlog will be what they use for an initial sorting&lt;br /&gt;
selection. If they see &amp;quot;Fix possible OOPS in....&amp;quot; then these people will look&lt;br /&gt;
closer, whereas they most likely will skip over simple warning fixes.&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t put in the full 20 or more lines of a backtrace when really it is just&lt;br /&gt;
the last 5 or so function calls that are relevant to the crash/fix. If the entry&lt;br /&gt;
point, or start of the trace is relevant (i.e. a syscall or similar), you can&lt;br /&gt;
leave that, and then replace a chunk of the intermediate calls in the middle&lt;br /&gt;
with a single [...]&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t include timestamps or other unnecessary information, unless they are&lt;br /&gt;
relevant to the situation (i.e. indicating an unacceptable delay in a driver&lt;br /&gt;
initialization etc.)&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t use links to temporary resources like pastebin and friends. The commit&lt;br /&gt;
message may be read long after this resource timed out.&lt;br /&gt;
&lt;br /&gt;
- Don&#039;t reference mirrors, but instead always reference original authoritative&lt;br /&gt;
sources.&lt;br /&gt;
&lt;br /&gt;
- Avoid punctuation in the short log.&lt;br /&gt;
&lt;br /&gt;
[[Category:Policy]]&lt;/div&gt;</summary>
		<author><name>Benjamin</name></author>
	</entry>
</feed>