From nobody Wed Nov 5 02:52:42 2025 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 1500990249259306.7952177111341; Tue, 25 Jul 2017 06:44:09 -0700 (PDT) Received: from localhost ([::1]:60876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1da083-0002dW-1q for importer@patchew.org; Tue, 25 Jul 2017 09:44:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZzyr-000471-J2 for qemu-devel@nongnu.org; Tue, 25 Jul 2017 09:34:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZzyq-0004Pm-Ok for qemu-devel@nongnu.org; Tue, 25 Jul 2017 09:34:33 -0400 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:38303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZzyq-0004Ox-IM for qemu-devel@nongnu.org; Tue, 25 Jul 2017 09:34:32 -0400 Received: by mail-wm0-x231.google.com with SMTP id m85so42437402wma.1 for ; Tue, 25 Jul 2017 06:34:32 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q123sm7756949wmb.36.2017.07.25.06.34.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2017 06:34:27 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 54A133E059E; Tue, 25 Jul 2017 14:34:25 +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=BAdTOTXja9oZlrq5Oa016+DvPowCX3BY9IXz2teUulM=; b=eqqJPfkGh6t8E7uoVnwgTzZAR+XzvDua96JcrW65GKDTw2b05PMfzT8QrpL+YpIL8H IYOxpTyaW/JoLumaa0gEvIO22i6/9ykSR7uBYzglioFmno4Ef3qLQsHdtEJp+lNKYj/S DrUAf7y0a9nyDmEpNQyPGTL5VSUzZdKEBMEmE= 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=NnPfE4+R6pNShk/WBtHD090akl7CgMq4VCpyjK8JXLiML3XuJE7Zvlvr+NyeCdW6dh Ep2ga3uHRroEySQViuAmwG1HzMZWQAKjEFbrXNJalvno64oW6123atFaHt5i7dWO6dFK dJDmIySLcx6OBxYFdJVoySfecO93buouZqvZD/PT5Zz8o4T76qZyy+O6vjKN/eqlBhGV akH8ILHZW5rLqjTml/grlLE6/Jd9hXQvzgvQe9G0Cp4RkzlmX1ZaGE9TiGboebaGyiSi mTXvxNgICc+ZpVA1tRCxvz1KhFzaKdAe7QIJDKcD3v79+sFr+RnIwYQSb8MdKiP06Smk dJow== X-Gm-Message-State: AIVw113bLiB+C6dpl5T643qELv8+V6SMYkGI5csBhhtY10eNsHxxAL7O mDfxcW+LJjqr/2Am X-Received: by 10.28.131.195 with SMTP id f186mr7995621wmd.172.1500989671498; Tue, 25 Jul 2017 06:34:31 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 25 Jul 2017 14:34:21 +0100 Message-Id: <20170725133425.436-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170725133425.436-1-alex.bennee@linaro.org> References: <20170725133425.436-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:c09::231 Subject: [Qemu-devel] [PATCH for 2.10 v2 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=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