From patchwork Mon Jun 7 14:33:00 2021 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: 455294 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp2802628jae; Mon, 7 Jun 2021 07:36:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmxKGqh2gXLLn5iUPSxvc0dxi0ydkxEjThbavaTNZaI57uyPwRdCZWfPxqgoXwWvy0XNHS X-Received: by 2002:a9d:5eb:: with SMTP id 98mr14685722otd.61.1623076583293; Mon, 07 Jun 2021 07:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623076583; cv=none; d=google.com; s=arc-20160816; b=N8iZv/t11SU1dpCN6bHA53N3f7sX1vgkmTw6YBc/CWnIRUQRPLYxvGTMPJezE+8A3Z HCmnkzVwQdpAqqwMp9QD3sumxQh1wX+xkXjqnXvJP2lN0PEoFq5dPtP2c5ZifkqvgTyJ b6+1nLOIILgzk9/m1wiC+R2tLrJNHSsmkvNMhcqCFeFXnNGoSWIdT53U+Rpyym4fQxl6 vtNKGj9CmaWdQss5JiU+3GZ2n8APWXJkJrqv1Ka/PIDaF6t7Do5P8g3A+xDjhUzyXuF8 N1x/ZYb0IljbyYIckrfRbOMAjWGAi0SJJ6U7q+tdTFghsmUziadrStWr/WlgEek7q0Kj Oezw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=GJX41Cyp71VELU0zs8YHXUqZWa3i/WmdvaiSBLJrNCQ=; b=owUCHFp3gsMVdBR7lvyLV66UAmN7e6iI3MDvvaPZ9ndyimMkrl+Lj6oTb1Izhnw/jM ntd37JS/kBf7MDehxgKbjIsTC9Q+bMl5BVIR6gGeV5fe3bY2NZDg62svGSLFssU5fNl1 l253ekU3ogNZ4ZX2WCFoAL9t9WKIAGvDs7Ub86o4pgSJlBGymBvGgwmSTIAtelg3pvnC GCMeoRzzt1m3JL63FtkVWooK88qSHHhltgFFG5LaFwa9vP1uKncGtChqb7yNUOOllQYH KSKHio6rHnVVVvWJEw/SOxq02bve/A70D8wI0O8HLifCQgSoB9mL5QETG6OuTupvWHhC C6Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lsCQqQCw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id x14si8998376ooo.14.2021.06.07.07.36.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jun 2021 07:36:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lsCQqQCw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:44194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqGMY-0008PG-Mu for patch@linaro.org; Mon, 07 Jun 2021 10:36:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqGJY-00034n-Ar for qemu-devel@nongnu.org; Mon, 07 Jun 2021 10:33:16 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:51760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqGJV-0000MV-Po for qemu-devel@nongnu.org; Mon, 07 Jun 2021 10:33:16 -0400 Received: by mail-wm1-x331.google.com with SMTP id l9so1195320wms.1 for ; Mon, 07 Jun 2021 07:33:13 -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=GJX41Cyp71VELU0zs8YHXUqZWa3i/WmdvaiSBLJrNCQ=; b=lsCQqQCwYTJxhMMG8WZOdCLRUQJDfmB349azkSXqqbYLwz9o+pO9gn6pENWNS/864r T20G6XiTRUqLJlMt6Qt3Lf8PYY3GoiUYVZ1Rpgt0eEfJVJgpDwPXKR0sclrXNEVwd8mA 7aD59+JFvpwpV1KV7rspnWL39dwR3sx7mdMyrBe0V58ny2wcG7PNiTHoHgOp51kMuvoF jyz8xtA5Q0XGNLHonx65c2HInA9zGRXTAZsFWiwUnpae8EqmVwHYiVLAPECZOFBo6aLg nfP7RKUnTk2t86Fa4y+6FefxcwuyJiaRweJlD9BS3DL+Lou08yBsfP1FLwKPsH8uOyu/ 15kQ== 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=GJX41Cyp71VELU0zs8YHXUqZWa3i/WmdvaiSBLJrNCQ=; b=CW2pKR2E+tNEZtqvbn9tCFzf2fY/Rxb/vVci283atz1oXVjv6gx9ferEmUASMRCJPR zCqj/qPGCTICgtIlCXTVTjfFD+loDTFQ0lIF8MQl9NEFJCF77opyCd1DCanLCHYv0D+G qXjybuVqXRS6qN1CcRa/Uu2nspiCqikDoN9umtlq+r5IBkLwjNTHDxAZdon7/Iwfn5O5 fbdXSzO0hvHmSRyz8jYCdzf0pIEfDrmwD3wNh8fVBk64V+4/lI15wRckVh+zuKM8T2/a cyD+ND0VQaVvu14BqzA28QvuYAZ/wNneZAFMP+11mfp2Bt/UoEbK/ss2aH8q+vDFilok v1lw== X-Gm-Message-State: AOAM532HPyeCtvb+3UGcdPKr58S4jxaDUfCep9XxAL/w+TqfCujQjUHY 5O32i69xC6F5bRKWSIqIq3Lqlg== X-Received: by 2002:a05:600c:4ba1:: with SMTP id e33mr11571343wmp.39.1623076392428; Mon, 07 Jun 2021 07:33:12 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m23sm20745072wml.27.2021.06.07.07.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 07:33:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0A5731FF91; Mon, 7 Jun 2021 15:33:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 5/8] gitlab: work harder to avoid false positives in checkpatch Date: Mon, 7 Jun 2021 15:33:00 +0100 Message-Id: <20210607143303.28572-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210607143303.28572-1-alex.bennee@linaro.org> References: <20210607143303.28572-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Da?= =?utf-8?q?ud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This copies the behaviour of patchew's configuration to make the diff algorithm generate a minimal diff. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Wainer dos Santos Moschetta Message-Id: <20210602153247.27651-1-alex.bennee@linaro.org> -- 2.20.1 diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml index 8e30872164..7e685c6a65 100644 --- a/.gitlab-ci.d/static_checks.yml +++ b/.gitlab-ci.d/static_checks.yml @@ -3,7 +3,11 @@ check-patch: image: $CI_REGISTRY_IMAGE/qemu/centos8:latest needs: job: amd64-centos8-container - script: .gitlab-ci.d/check-patch.py + script: + - git config --local diff.renamelimit 0 + - git config --local diff.renames True + - git config --local diff.algorithm histogram + - .gitlab-ci.d/check-patch.py variables: GIT_DEPTH: 1000 rules: