Message ID | 20181211034601.29061-1-ruscur@russell.cc |
---|---|
State | Accepted |
Headers | show
Return-Path: <snowpatch-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43DQy83nVNz9s3Z for <incoming@patchwork.ozlabs.org>; Tue, 11 Dec 2018 14:52:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="RnKLaELM"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43DQy821ZczDqD2 for <incoming@patchwork.ozlabs.org>; Tue, 11 Dec 2018 14:52:48 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="RnKLaELM"; dkim-atps=neutral X-Original-To: snowpatch@lists.ozlabs.org Delivered-To: snowpatch@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (helo) smtp.helo=out1-smtp.messagingengine.com (client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com; envelope-from=ruscur@russell.cc; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="RnKLaELM"; dkim-atps=neutral Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43DQxx6hYRzDqNQ for <snowpatch@lists.ozlabs.org>; Tue, 11 Dec 2018 14:52:37 +1100 (AEDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A0D3721347; Mon, 10 Dec 2018 22:45:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 10 Dec 2018 22:45:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rhUpWd5JiGwcLklOp Bbw/7m7GcTkyoEaNYTlVvsRpr8=; b=RnKLaELMVffpoBNld7oJntBMU0WJdjx4W pCyXrEsCR/SipZ3a2IFwbd8zNbt5M9VaMRJOEyNzTzFg6AVYaBvVkBSJvJ8F7qR9 IeGbg4Y/i8ZPpSZdlBphoXRp4V0+KJxLgcVdCCxS7rYVBY71sBB0ZREEzwdrzvJy K3FnxFQio+yQeTphzxZMGNuuiWRdKgoHu6r0m9wi63EFdqrgSJ35I/l8jRmT3iph LtJxsU8RnrLjh4IZzqxUu6a8k1vW5g6L9jelNmsAHLHq6RqSezqLU9EoSzsV0yUk atT4obPVenUlNC5ycgnr3/d3fRsDP3GK13ZxowRpXhB9SdG2qFJbQ== X-ME-Sender: <xms:4jIPXBKTYqCy_E6MCQs5gEfe9ZfQ6Ypkjme2NAtpCGrnfNIztXjfeg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudegiedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecufghrlhcuvffnffculdeftddmnecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeftuhhsshgvlhhlucevuhhrrhgvhicuoehruhhstghurhesrhhu shhsvghllhdrtggtqeenucfkphepvddtvddrkedurddukedrfedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehruhhstghurhesrhhushhsvghllhdrtggtnecuvehluhhsthgvrhfu ihiivgeptd X-ME-Proxy: <xmx:4jIPXEgvYIYPK0iJkBgB811ogJjKPOPRO-Ss5NGU57xy6bnxOAWRwA> <xmx:4jIPXDhxPA1WCjnFuztphMuktw9Fo8gGKeuMaxuoVDbARc7HCk9N6w> <xmx:4jIPXKGP_njXcbicacPgRUD9UYu6qtq10jL5P3sg9S_u9rnrbLYb3g> <xmx:4jIPXIAZhE2XM2CqtOCd303FQKSeLafCGTWhcFctQMH4VdIwlWcQxw> <xmx:4jIPXIC-Faxe-Wja7bIN8w-WrBDLORu35UDPWqhFKrL8_7N44Etl2A> <xmx:4zIPXOptakq0qTNp8T3zmhSVvMX6zyKDguBMSp30udsTPh_3T-SIUw> Received: from crackle.ozlabs.ibm.com.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id D1635E446A; Mon, 10 Dec 2018 22:45:36 -0500 (EST) From: Russell Currey <ruscur@russell.cc> To: snowpatch@lists.ozlabs.org Date: Tue, 11 Dec 2018 14:45:57 +1100 Message-Id: <20181211034601.29061-1-ruscur@russell.cc> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [snowpatch] [PATCH v2 1/5] setup_rustfmt_hook: create hooks dir if it doesn't exist X-BeenThere: snowpatch@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Continuous Integration for patch-based workflows <snowpatch.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/snowpatch>, <mailto:snowpatch-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/snowpatch/> List-Post: <mailto:snowpatch@lists.ozlabs.org> List-Help: <mailto:snowpatch-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/snowpatch>, <mailto:snowpatch-request@lists.ozlabs.org?subject=subscribe> Cc: Russell Currey <ruscur@russell.cc> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: snowpatch-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "snowpatch" <snowpatch-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
[v2,1/5] setup_rustfmt_hook: create hooks dir if it doesn't exist
|
expand
|
On 11/12/18 2:45 pm, Russell Currey wrote:
> Signed-off-by: Russell Currey <ruscur@russell.cc>
Series applied to master: b5431f74fc663222caace3160691c8519d4411fe
Thanks,
diff --git a/setup_rustfmt_hook.sh b/setup_rustfmt_hook.sh index 76a8932..4088926 100755 --- a/setup_rustfmt_hook.sh +++ b/setup_rustfmt_hook.sh @@ -2,6 +2,7 @@ rustup component add rustfmt-preview rustfmt_path=`which rustfmt` +mkdir -p .git/hooks echo "#!/bin/bash declare -a rust_files=() files=\$(git diff-index --name-only HEAD)
Signed-off-by: Russell Currey <ruscur@russell.cc> --- setup_rustfmt_hook.sh | 1 + 1 file changed, 1 insertion(+)