From patchwork Tue Sep 17 13:30:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov via arch-projects X-Patchwork-Id: 1235 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id C53B41397D837 for ; Tue, 17 Sep 2019 13:30:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on apollo X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001, T_DMARC_POLICY_NONE=0.01 autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-BL-Results: [127.0.0.10] [127.0.9.2] [127.0.0.10, 127.0.0.14] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Tue, 17 Sep 2019 13:30:43 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 1AB9F1566C6FC1; Tue, 17 Sep 2019 13:30:42 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Tue, 17 Sep 2019 13:30:42 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id D93A12BD7A; Tue, 17 Sep 2019 13:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=luna2; t=1568727041; bh=4SeeG2hzGkLIH9rGqKHH1X0BQ/50NaVi13o8InxLARc=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc; b=WLuWtIljONPpZMMOJ8StvtHfaXIHd+Rm1hHqSBHJD5NKNKxKOdpY9+9aZE83FVyXC WgD/cgYH19ud9kTkX8bcIA0BCnuEweNbjzHzwVyA1yfnW9i1fivl3PMkfYBf1yyGQI iS9HyYbawiDUE8hVHI1598x4dw+VRajYDpk+Uk8K2hFLonJO6e3j9v921EgNErXPqM iAWAS9+YnzqR/c73998yNIZcmbaVDO5HzyKhnWYWYAkHefi2wfY0cLWIZzbT2V0WT/ QFVHE1oNWk3EKN/CfNJAUS9cEdLZTc3iaOM2Eq7qAlf2LqRZve2GsP87B/29jKH74L QRsbRnphZkldSCZdpuFlV0SkErntulikY8RLbK03ZZoHDlSUvZgLmMwYlauO8XF+8B 4hgKToXxb0asKmUMSmdDgx4y0xP8elnn/NwSsZhefhp9S24W8Ps+u7j+IX2qiOBw5z 1heTt5FpffqMAO25IUTbNH3t8DwR1ab7vnYAuUYCewhiYxTpC1MiJdXOWAVbGKhc/b cDC6IDNyZBrOxdFxyfI6CytZrjy2RcMUVKzfXYaQaOT9pcBRvmSLM2oG39VWRgWaaZ UrwonKipdALfYeF/OgvO5y73rnQ68Q9bwLPOuzSJSQobs383tzlIues/3FEJmdJvMq +s2hrGn41bLhxUt0E2Q/s+kU= Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 1723D2BD38 for ; Tue, 17 Sep 2019 13:30:38 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by luna.archlinux.org (Postfix) with ESMTPS for ; Tue, 17 Sep 2019 13:30:38 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id A41671566C6FBE for ; Tue, 17 Sep 2019 13:30:31 +0000 (UTC) Received: from localhost.localdomain (pool-98-113-32-106.nycmny.fios.verizon.net [98.113.32.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: polyzen) by orion.archlinux.org (Postfix) with ESMTPSA id 413171566C6FBD for ; Tue, 17 Sep 2019 13:30:31 +0000 (UTC) To: arch-projects@lists.archlinux.org Date: Tue, 17 Sep 2019 09:30:26 -0400 Message-Id: <20190917133026.3757-1-polyzen@archlinux.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [arch-projects] [devtools] [PATCH] commitpkg: Avoid excess blank lines X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Daniel M. Capella via arch-projects" Reply-To: Arch Linux projects development discussion Cc: "Daniel M. Capella" Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" Most of the time we're just bumping the pkgver and checksums, where a commit body isn't needed. Referencing commit ee970f0bde3c90a0dff909c366d4ab1a1bff9b9d Signed-off-by: Daniel M. Capella --- commitpkg.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commitpkg.in b/commitpkg.in index 3fc3fa6..a626531 100644 --- a/commitpkg.in +++ b/commitpkg.in @@ -104,10 +104,10 @@ if [[ -z $server ]]; then fi if [[ -n $(svn status -q) ]]; then - msgtemplate="upgpkg: $pkgbase $(get_full_version)"$'\n\n' + msgtemplate="upgpkg: $pkgbase $(get_full_version)" if [[ -n $1 ]]; then stat_busy 'Committing changes to trunk' - svn commit -q -m "${msgtemplate}${1}" || die + svn commit -q -m "${msgtemplate}\n\n${1}" || die stat_done else msgfile="$(mktemp)"