From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60A53C4346E for ; Tue, 29 Sep 2020 08:18:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2543E206C1 for ; Tue, 29 Sep 2020 08:18:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727746AbgI2ISR (ORCPT ); Tue, 29 Sep 2020 04:18:17 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:58812 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727522AbgI2ISQ (ORCPT ); Tue, 29 Sep 2020 04:18:16 -0400 X-IronPort-AV: E=Sophos;i="5.77,317,1596492000"; d="scan'208";a="360311607" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 10:18:14 +0200 Date: Tue, 29 Sep 2020 10:18:14 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joe Perches cc: Julia Lawall , Andrew Morton , LKML Subject: Re: [RFC PATCH] scripts/most_common_subject_prefix.pl: Find the most common commit subject prefix In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Sep 2020, Joe Perches wrote: > On Tue, 2020-09-29 at 09:45 +0200, Julia Lawall wrote: > > On Mon, 28 Sep 2020, Joe Perches wrote: > > < This will emit a single line that is the most commonly used commit > > > subject prefix up to and including the last colon of the commit subject > > > for commits that _only_ include the specific file and not any other file. > > > > For the comma->semicolon patches, I noticed the need for a number of > > suject lines of the form: > > > > hwrng: xxx - patch description > > > > So maybe other delimiters have to be taken into account. > > Maybe. Can you provide a few more examples? Looking through git log --oneline, nothing else is jumping out. Another issue is colons in the message text. I think that I check that the only spaces have the form ": " to avoid this problem, but I do see: 88db0aa24216 all arch: remove system call sys_sysctl 92e4edba6e2 perf ftrace: Make option description initials all capital letters (most of the perf patches seem to be like this one) Here is another with - 27aced19e098 Input: exc3000 - add reset gpio support Reverts seem to typically have Revert followed by the original subject line in quotes. julia