Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47B09C74A5B for ; Sun, 12 Mar 2023 04:41:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbjCLElW (ORCPT ); Sat, 11 Mar 2023 23:41:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjCLElT (ORCPT ); Sat, 11 Mar 2023 23:41:19 -0500 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 34DF33864A; Sat, 11 Mar 2023 20:41:18 -0800 (PST) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 32C4f7lt032752; Sun, 12 Mar 2023 05:41:07 +0100 Date: Sun, 12 Mar 2023 05:41:07 +0100 From: Willy Tarreau To: David Laight Cc: "'Sasha Levin'" , Matthew Wilcox , Eric Biggers , Pavel Machek , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "viro@zeniv.linux.org.uk" , "linux-fsdevel@vger.kernel.org" Subject: Re: AUTOSEL process Message-ID: References: <9ff6fe2c13434512b034823112843d4f@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ff6fe2c13434512b034823112843d4f@AcuMS.aculab.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 11, 2023 at 10:38:10PM +0000, David Laight wrote: > ... > > I suppose that if I had a way to know if a certain a commit is part of a > > series, I could either take all of it or none of it, but I don't think I > > have a way of doing that by looking at a commit in Linus' tree > > (suggestions welcome, I'm happy to implement them). > > Could something in git (eg when patches get applied) add dependencies > between the patches in a series. > While that won't force the entire series be added, it would ensure > that all earlier patches are added. I suspect that having an option to keep the message ID in the footer (a bit like the "cherry-picked from" tag but instead "blongs to series") could possibly help. And when no such info is present we could have one ID generated per "git am" execution since usually if you apply an mbox, it constitutes a series (but not always of course, though it's not difficult to arrange series like this). Willy