Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5825327ybg; Tue, 22 Oct 2019 08:55:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqf3pSyZH7B2GLTjj1Dmb8mNAno15HecQJGI9YOQZ6VTzvel4uUfksPv+pqSavNpJMCKEj X-Received: by 2002:a05:6402:28f:: with SMTP id l15mr32501633edv.90.1571759714706; Tue, 22 Oct 2019 08:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571759714; cv=none; d=google.com; s=arc-20160816; b=wZAyoaSLHQ3cAKr0kmF7zTvVIKvEzIeaSDNZvMTcrK0Hp1aiDdO9phmMalI7gI6gcM x6aV9q946y21gGBDRQ52M/5qhhtSZwKqRGMm3XlTum0I7Jxgnng00t9Dwrhx1iul/6PW QzbpBDQwqTYEXyYIOyczeQqDAA6/kTgp7uE6YqfHO+etf6sNBcFgRMOJjlLM6iGyYnia LWSQ+mg8xEhlADcNC2jj2AqZGZHgWHintAV3eSjbL7Cf845q5IxIOZJ1hTTao3b93PGc rx3SEgsve3EmneypFOuzdB6c6A/tW3lilFQtAwexiAsiClR+aVPYdnb9d1PHKAnoz3cc IlCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Az/cfwazB2EauMf8YkxsjqwuzUuv3AHVg9uJadxv8GE=; b=xdMh127CpM0k62sP+eJdL1v3vgffxojQj3WNvsx4mjHtJjNUSyourl3uAEMJHOgx6Z nMxTlj2vSU1WXVk96ExMm3URiiKC6ZkY1mB0vCNQOQl8hq4CeysFHg4uK/zCoZaT47ou 7l7NhEumw865v6SfXHZzbUpA+VM2QSBO7/Sn7aeFxKTBBnwuJNmqqVx2z/dTCVEXcW8L MSXxldulnxQ0R9qU1NeGSVQe0lXnHY3eD6J9yNmI13dtswsE4kyY6VZmDIlThjDf0QFl CAu9iC3JRMOH40e0NiLCw1V+Mqd/wkus53fjVlUam/YfzvEJinUOYZSK+qkJQN4x4u8H k2Ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si10990907edb.245.2019.10.22.08.54.50; Tue, 22 Oct 2019 08:55:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731671AbfJVNy2 (ORCPT + 99 others); Tue, 22 Oct 2019 09:54:28 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:35222 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729425AbfJVNy1 (ORCPT ); Tue, 22 Oct 2019 09:54:27 -0400 Received: from callcc.thunk.org (guestnat-104-133-0-98.corp.google.com [104.133.0.98] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x9MDrjb3029728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Oct 2019 09:53:45 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id C02D9420456; Tue, 22 Oct 2019 09:53:44 -0400 (EDT) Date: Tue, 22 Oct 2019 09:53:44 -0400 From: "Theodore Y. Ts'o" To: Vegard Nossum Cc: Willy Tarreau , Santiago Torres Arias , workflows@vger.kernel.org, Git Mailing List , LKML , Konstantin Ryabitsev , Eric Wong Subject: Re: email as a bona fide git transport Message-ID: <20191022135344.GC23268@mit.edu> References: <20191016111009.GE13154@1wt.eu> <20191016144517.giwip4yuaxtcd64g@LykOS.localdomain> <56664222-6c29-09dc-ef78-7b380b113c4a@oracle.com> <20191018161547.GG21137@mit.edu> <20191018191456.GI21137@mit.edu> <20191020031716.GA17475@1wt.eu> <1a259d8d-b3d1-b64e-07c3-ba143b42c442@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 22, 2019 at 02:11:22PM +0200, Vegard Nossum wrote: > > As I wrote in there, we could already today start using > > git am --message-id > > when applying patches and this would provide something that a bot could > annotate with git notes pointing to lore/LKML/LWN/whatever. I think that > would already be a pretty nice improvement over today's situation. > > Sadly, since the beginning of 2018, this was only used for a measly > ~0.14% of all non-merge commits in the kernel: > > $ git rev-list --count --no-merges --since='2018-01-01' --grep 'Message-Id: > ' linus/master > 178 You might also want to count commits which have a link tag with a Message-Id: Link: https://lore.kernel.org/r/c3438dad66a34a7d4e7509a5dd64c2326340a52a.1571647180.git.mbobrowski@mbobrowski.org That's because some kernel developers have been using a hook script like this: #!/bin/sh # For .git/hooks/applypatch-msg # # You must have the following in .git/config: # [am] # messageid = true . git-sh-setup perl -pi -e 's|^Message-Id:\s*]+)>?$|Link: https://lore.kernel.org/r/$1|g;' "$1" test -x "$GIT_DIR/hooks/commit-msg" && exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} : .... as we had reached rough consensus that this was the best way to incorprate the message id (since it could made to be a clickable link in tools like gitk, for example). This rough consensus has only been in place since around the time of the Maintainer's Summit in Lisbon, so uptake is still probably a bit slow. I'd expect to see a lot more of this in the next merge window, though. - Ted