From patchwork Mon Aug 7 15:39:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 109567 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp2904856obb; Mon, 7 Aug 2017 08:43:19 -0700 (PDT) X-Received: by 10.55.41.153 with SMTP id p25mr1286975qkp.211.1502120599685; Mon, 07 Aug 2017 08:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502120599; cv=none; d=google.com; s=arc-20160816; b=sSwJ/uZvGsjcl1iWh3Q+GcSlmdjJrTGTP3RpAeQuIIwY7xCggpkTDq74FdD1L+O3uh xae4nBWBf9h9FVEz53rAOhlfgeStnhF2G85j13xPhhiBz2Q3u5McFyWrEiz5GLAMt7OP YtIgsn4ftItQZWx+8rdV+duUa/JfalYyiU5WshS3CLoGlGrQMPyQwUptXbC+lxWMUuLi zr/tGjXBnd9zAgaBRZ7XhMY+23lXlIxrywmSZ5Dn7ku6AWtIkGDy7VjOkSApIiJnnHS8 J7706FqtCWUfpDmmGz3umj5gIin/61sxHyfCLl7r1Y7zAXNSzeZ18xF33YC9aDdB9vhJ Xi0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=BAdTOTXja9oZlrq5Oa016+DvPowCX3BY9IXz2teUulM=; b=O3i4ETb8Y8fFdc/3EdRyoyEZMXBsBJRG3sk0+iw7GESSlB5zzFuLltqINr7MEf1R3q ZQHOJ2Y9S0HXaRbJgR4yGFNXTxRistqvN4Q1NpHsU7ROXIrG80KStxUjZKFMWLOXndNa 1yUrlZpv0MVovyjMT+6KbO4XyMDdwvuPBQi2HaAGUoZjIh/ib/MpOxy1uul9PdfSybWY UWQwYCZbJwfG6aD7JA2X0e/kR0U2zJnfw7C8o/1g+0ck/JcjeBeU6Xqo7wIhixhOHchT RF/+tYoRnEeobMSPvxzzTDULOnyWClyyrShImuahPmODXPbIpk2l7uZv/kiVjJOO6xyZ egyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=CIaXbsgY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n33si7848416qtn.149.2017.08.07.08.43.19 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 07 Aug 2017 08:43:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=CIaXbsgY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dekBZ-0007yL-44 for patch@linaro.org; Mon, 07 Aug 2017 11:43:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dek88-0004eI-J8 for qemu-devel@nongnu.org; Mon, 07 Aug 2017 11:39:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dek83-0006YS-Ol for qemu-devel@nongnu.org; Mon, 07 Aug 2017 11:39:44 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:38092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dek83-0006Xs-IX for qemu-devel@nongnu.org; Mon, 07 Aug 2017 11:39:39 -0400 Received: by mail-wm0-x230.google.com with SMTP id m85so10136285wma.1 for ; Mon, 07 Aug 2017 08:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BAdTOTXja9oZlrq5Oa016+DvPowCX3BY9IXz2teUulM=; b=CIaXbsgYj3ULCWQzvdIbFiq/fl8A2QOz1saah0O6kUbkW4Z6DpPI7fBnl7PCCFCh5Y CcU/njRXJSyxljfUIHGv2VLIClZusgbXuP7wXj7052ZWuTMQDBeKasRqRF1reZf0UIvV sbrKkxIhwGxAMrEnAgB64OfC2yAyu5P0kWkMg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BAdTOTXja9oZlrq5Oa016+DvPowCX3BY9IXz2teUulM=; b=ZDa5UJujj7qc+zfrQ9dRHSnW5+7LluDq2dLCo9Q/1tnvhJZU8E/h0DI4iBdY692xbk BU+gVNMJtOHQzzcLhg1bSeZ8hGTDR8odOfX8c7WcXiPipqwJ78ymRkBa/iIpenODPBU4 mQtkLcw/V8z9rVQyQol36RipeMEHk4Q0/GbHy7nk6tIkte/Mf/P+VnmDv9/M41XLxJDx 3Kvnb99Caqo6yjVFb0phUpXOBIb+FpBQCRlGKxAlso0wyWWq8evBlNAH5jCfDctLXrFR OOmGOhTvGIPYDdH48hiCeDo5fSoA4AnVim45PsblnbhQX/HEJwtEv2xuo00kMIWilNUK PwVA== X-Gm-Message-State: AHYfb5g1/StikuZ0WwGgeq1rE6eR47EAxa1c/EH/sSV6rFZpj+fGPzdB Jv9ekSGeAjqJisRt X-Received: by 10.28.226.136 with SMTP id z130mr903928wmg.153.1502120378440; Mon, 07 Aug 2017 08:39:38 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l1sm10893876wmb.18.2017.08.07.08.39.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 08:39:34 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 8E67D3E02F1; Mon, 7 Aug 2017 16:39:34 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 7 Aug 2017 16:39:30 +0100 Message-Id: <20170807153934.29477-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170807153934.29477-1-alex.bennee@linaro.org> References: <20170807153934.29477-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::230 Subject: [Qemu-devel] [PATCH for 2.10 v3 2/6] docker: fix dirty/stash detection on some systems X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , famz@redhat.com, qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" I reported this a while ago but evidently forgot to push the patch upstream. Without this I wasn't seeing the dirty tree state submitted to the docker build which is very confusing. Reference: Subject: [PATCH 1/6] tests/docker/Makefile.include: fix diff-index call Date: Fri, 28 Oct 2016 17:33:34 +0100 Message-Id: <20161028163339.31096-2-alex.bennee@linaro.org> Signed-off-by: Alex Bennée Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé --- tests/docker/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index d7dafdbd27..ff580edfad 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -20,7 +20,7 @@ IMAGES ?= % # Make archive from git repo $1 to tar.gz $2 make-archive-maybe = $(if $(wildcard $1/*), \ $(call quiet-command, \ - (cd $1; if git diff-index --quiet HEAD -- &>/dev/null; then \ + (cd $1; if git diff-index --quiet HEAD -- 2>/dev/null; then \ git archive -1 HEAD --format=tar.gz; \ else \ git archive -1 $$(git stash create) --format=tar.gz; \