From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751816AbdASV06 (ORCPT ); Thu, 19 Jan 2017 16:26:58 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56601 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751514AbdASV05 (ORCPT ); Thu, 19 Jan 2017 16:26:57 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=SqetBCZo7/BmempkQFYeHCbZ+VecA0Js l1/2GmdUmEFttYtXm+Hy+1SqTdkWSs78boVla/6pxOCTNCsv6dwWNLZ8NPWXzxW8 s1wWiKTAX+ulkkmRtFQP18OhnEVFGq7IG2mHVp8VZ45EH+AphQuecfMYhnikB34B D2Hj5W+du7w= From: Junio C Hamano To: Wolfram Sang Cc: git@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC for GIT] pull-request: add praise to people doing QA References: <20170115183051.3565-1-wsa@the-dreams.de> <20170119204343.xtotmjddhbum2mvr@ninjato> Date: Thu, 19 Jan 2017 13:22:00 -0800 In-Reply-To: <20170119204343.xtotmjddhbum2mvr@ninjato> (Wolfram Sang's message of "Thu, 19 Jan 2017 21:43:45 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 510F8B88-DE8D-11E6-A760-FE3F13518317-77302942!pb-smtp1.pobox.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wolfram Sang writes: > I didn't know about trailers before. As I undestand it, I could use > "Tested-by" as the key, and the commit subject as the value. This list > then could be parsed and brought into proper output shape. It would > simplify the subject parsing, but most things my AWK script currently > does would still need to stay or to be reimplemented (extracting names > from tags, creating arrays of tags given by $name). Am I correct? That is not exactly what I had in mind. I was wondering if we can do without any external script, implementing the logic you added inside shortlog with an extra option that triggers the whole thing, which may call into the same trailers API as used by the interpret-trailers command to do the parsing and picking out parts.