Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758117AbZKJUja (ORCPT ); Tue, 10 Nov 2009 15:39:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758105AbZKJUj3 (ORCPT ); Tue, 10 Nov 2009 15:39:29 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:48387 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758104AbZKJUj2 (ORCPT ); Tue, 10 Nov 2009 15:39:28 -0500 Date: Tue, 10 Nov 2009 21:39:13 +0100 From: Ingo Molnar To: Greg KH Cc: James Bottomley , Linus Torvalds , Andrew Morton , Chris Wright , linux-kernel@vger.kernel.org, Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra Subject: Re: [RFC] new -stable tag variant, Git workflow question Message-ID: <20091110203913.GA18509@elte.hu> References: <20091110034831.GB26809@elte.hu> <20091110041452.GA25575@suse.de> <1257863388.4184.220.camel@mulgrave.site> <20091110193747.GB12686@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091110193747.GB12686@suse.de> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2682 Lines: 77 * Greg KH wrote: > > By the looks of the above it's only a few commits, or is it the > > entire branch? > > I'm thinking the commit would be the merge, right Ingo? So it would > just be a single commit that has the marker in it. Correct. This is really a special case, a small variation of the commit eae0c9d -stable tagging scheme i outlined in the first mail. When i merge */urgent branches into the for-linus branch in the merge window, i cannot change the commits anymore (it would amount to a rebase), but i have the opportunity to modify the merge commit message itself. (which is typically a regular merge commit and does not carry any -stable actionable change itself.) I already annotate merge commits today - for example: | commit 43315956509ca6913764861ac7dec128b91eb1ec | Merge: 9bf4e7f 6beba7a | Author: Ingo Molnar | Date: Fri Oct 23 08:23:20 2009 +0200 | | Merge branch 'perf/core' into perf/probes | | Conflicts: | tools/perf/Makefile | | Merge reason: | | - fix the conflict | - pick up the pr_*() infrastructure to queue up dependent patch | | Signed-off-by: Ingo Molnar Note how i already put a SOB line into the merge commit - i treat every merge as something that 'had to be done' so they are never arbitrary and always carry real information. So my idea was to potentially use the extended -stable notification scheme in certain merge commits too. Here's a mockup merge commit log: Merge branch 'sched/urgent' into sched/core Conflicts: tools/perf/Makefile Merge reason: - resolve the conflict - queue up urgent fixes for the next merge window Cc: # .32.x: a1f84a3: sched: Check for an idle shared cache Cc: # .32.x: 1b9508f: sched: Rate-limit newidle Cc: # .32.x: fd21073: sched: Fix affinity logic Signed-off-by: Ingo Molnar Note that the merge commit itself carries no action for -stable: there's no "Cc: " line - only 'pointer' lines in the form of: Cc: # .32.x: sha1: title But ... if you or Linus dislikes this direction of tagging for some reason i can still do the manual approach as well. It seemed useful to me though and it would be a natural portion of my workflow. Ingo -- 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/