Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932497AbbEUQT2 (ORCPT ); Thu, 21 May 2015 12:19:28 -0400 Received: from smtprelay0165.hostedemail.com ([216.40.44.165]:49150 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932474AbbEUQT1 (ORCPT ); Thu, 21 May 2015 12:19:27 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:968:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:4250:4321:5007:6261:8957:9010:10004:10400:10848:11232:11639:11658:11914:12043:12517:12519:12555:12740:13019:13069:13255:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: quill94_17c1bbcf52d54 X-Filterd-Recvd-Size: 2347 Message-ID: <1432225162.20840.49.camel@perches.com> Subject: Re: [PATCH] Docs: SubmittingPatches: Clarify convention for git commit references From: Joe Perches To: Bjorn Helgaas Cc: Jonathan Corbet , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Date: Thu, 21 May 2015 09:19:22 -0700 In-Reply-To: <20150521155954.9522.33952.stgit@bhelgaas-glaptop2.roam.corp.google.com> References: <20150521155954.9522.33952.stgit@bhelgaas-glaptop2.roam.corp.google.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1650 Lines: 45 On Thu, 2015-05-21 at 10:59 -0500, Bjorn Helgaas wrote: > Clarify the convention for commit references in changelogs so it matches > what checkpatch suggests; see d311cd44545f ("checkpatch: add test for > commit id formatting style in commit log"). > > I chose a different example to make the ("") around the description more > obvious. [] > diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches [] > @@ -168,27 +168,18 @@ resources. In addition to giving a URL to a mailing list archive or [] > +When referring to a specific commit, please include both the first 12 maybe When referring to a specific commit, please include both 12 or more or "at least 12" or " a minimum of 12". > +characters of the SHA-1 ID and the one-line summary to make it easier for > +reviewers to know what it is about. For example: > + > + Commit 523c5b89640e ("i2c: Remove support for legacy PM") removed > + the PM ops from the bus type ... > + > +If your patch fixes a bug in a specific commit, e.g., you found an issue > +using git-bisect, please use the 'Fixes:' tag, again with the first 12 here too > +characters of the SHA-1 ID and the one-line summary. For example: > + > + Fixes: 523c5b89640e ("i2c: Remove support for legacy PM") > > The following git-config settings can be used to add a pretty format for > outputting the above style in the git log or git show commands > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/