From nobody Wed Feb 11 02:33:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1500558552134622.415769099381; Thu, 20 Jul 2017 06:49:12 -0700 (PDT) Received: from localhost ([::1]:38186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYBpB-0004qF-7x for importer@patchew.org; Thu, 20 Jul 2017 09:49:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYBnY-0003sz-Tw for qemu-devel@nongnu.org; Thu, 20 Jul 2017 09:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYBnX-00089K-Bs for qemu-devel@nongnu.org; Thu, 20 Jul 2017 09:47:24 -0400 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]:38011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYBnX-00088Z-5P for qemu-devel@nongnu.org; Thu, 20 Jul 2017 09:47:23 -0400 Received: by mail-wr0-x235.google.com with SMTP id f21so14587201wrf.5 for ; Thu, 20 Jul 2017 06:47:21 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q17sm2224179wmd.4.2017.07.20.06.47.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jul 2017 06:47:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0DCA23E04F1; Thu, 20 Jul 2017 14:47:17 +0100 (BST) 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=LxXBJ4EUlB5PYLiG5mV46/CbrpcOoHRkfUQiYp9fp/c=; b=JGyWTj+kyMaVGMP+NcIjPFztLgFPrv2LnI9CnCXenGG8f7FIqUPQNg2Eyf2N1p6nDi dQiQAOvg4Pc2QxA1NWZ6aWovOnuYxR8PiuPaGrcIpCVpI7jHlC3Pf+KT7FO0LwjNanNW MRXxqZ6KnLT+o0yek2TsAvD037pFOV/wLI/3k= 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=LxXBJ4EUlB5PYLiG5mV46/CbrpcOoHRkfUQiYp9fp/c=; b=bWUDI/wFEV30Lx0+YjoksDkkr3e3xUr0j+surFnmEmGceTC6JTgMtr8pypGDLvlftY 5oS+ok+ySAg3InK0U/4lHeonMEIssM/IKOid52pONEascS7OyHm0aw754SMf1qKFtxno tWHTS6VCiLz2jeaoKOCWNX3BtHozl+wCodrmZ2Yuxi24e9o6VxHEVK92bArAxkg4iQSN 9hYMEcMZUxzcboqynFQEXnM0Y7Ee/FOJ24cpy0hUiAM/st5UDCu4NYOWhHN4ZcgCH5Lk 7FDDrzHNpFlbA7e79pkfGowau2553t7XpsDs0VRLDPEcs44AEmsjDRftCn4hbCkgIPmb u/wg== X-Gm-Message-State: AIVw110jyoexZgjuU55RD2RFIwckiNyg+P1vpg5KsWdhM4dIKg8HyIlW swfVGACL9Ksum6JE X-Received: by 10.223.146.195 with SMTP id 61mr5252660wrn.169.1500558440435; Thu, 20 Jul 2017 06:47:20 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 20 Jul 2017 14:47:15 +0100 Message-Id: <20170720134716.13049-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170720134716.13049-1-alex.bennee@linaro.org> References: <20170720134716.13049-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::235 Subject: [Qemu-devel] [RFC PATCH for 2.10 2/3] 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=20Benn=C3=A9e?= , famz@redhat.com, qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 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=C3=A9e Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/docker/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?=3D % # Make archive from git repo $1 to tar.gz $2 make-archive-maybe =3D $(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=3Dtar.gz; \ else \ git archive -1 $$(git stash create) --format=3Dtar.gz; \ --=20 2.13.0