Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752586Ab3J0IDw (ORCPT ); Sun, 27 Oct 2013 04:03:52 -0400 Received: from mail-qe0-f48.google.com ([209.85.128.48]:35602 "EHLO mail-qe0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245Ab3J0IDs (ORCPT ); Sun, 27 Oct 2013 04:03:48 -0400 MIME-Version: 1.0 In-Reply-To: <20131027071407.GA11683@leaf> References: <20131024122255.GI9378@mwanda> <20131024122512.GB9534@mwanda> <20131026181709.GB10488@kroah.com> <20131027013402.GA7146@leaf> <526CA7D4.1070904@alum.mit.edu> <20131027071407.GA11683@leaf> Date: Sun, 27 Oct 2013 01:03:47 -0700 Message-ID: Subject: Re: [Ksummit-2013-discuss] [PATCH] commit: Add -f, --fixes option to add Fixes: line From: Michel Lespinasse To: Josh Triplett Cc: Michael Haggerty , ksummit-2013-discuss@lists.linuxfoundation.org, LKML , ksummit-attendees@lists.linuxfoundation.org, Git Mailing List , Dan Carpenter Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1323 Lines: 30 On Sun, Oct 27, 2013 at 12:14 AM, Josh Triplett wrote: >> > +-f :: >> > +--fixes=:: >> > + Add Fixes line for the specified commit at the end of the commit >> > + log message. This line includes an abbreviated commit hash for >> > + the specified commit; the `core.abbrev` option determines the >> > + length of the abbreviated commit hash used, with a minimum length >> > + of 12 hex digits. >> >> You might also mention that the "Fixes:" line includes the old commit's >> subject line. > > I only mentioned the abbreviated commit hash because it was necessary to > explain the factors affecting hash length. -s, above, doesn't mention > that the Signed-off-by line includes the name and email address of the > committer. I do wonder, if we're going to bake into git the idea that too-short abbreviated sha1s don't make sense, why don't we just change the core.abbrev default to 12 everywhere rather than just in this one command ? -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- 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/