From nobody Mon Feb 9 11:29:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+109231+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109231+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1696026261; cv=none; d=zohomail.com; s=zohoarc; b=Bnv2y61GVWzI8jWTsBUgxJHHfQS+0QA4Q7wlNGPwYvYzJOZsGDeCGzB4i4EVP3gd/y1rbHh7DM5WNMEbVEtEizcWATZpPJ/DtBhTwZpLP632SMtjTXairQuD4+YtVFf4pl1rKcVHtFLZgiEH8RzUTAXQsBsMJ1UpYRGzPllUy5A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1696026261; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=VyFTpL1kxDl5TtDefOapQEQX10XQOL8D5Auxh1ah93U=; b=VtpIbmT7sFMTU7Ffw4xP5fA/QTpLxYVlPn2U0rHRVoMk1Q+Exgkn5/52EN+i0Pgvxf5umEqtNn/NhHWjHWCpGEh4GUXRY/7260+IQCDQDFmi+EItWz6V6/zpL6+dEqdnPHZ5Y8b1YDqPiL53SnDINXP9cfAJctD3xfenOta9xp0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109231+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1696026261672374.35286917349094; Fri, 29 Sep 2023 15:24:21 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=OdGf5nNdEQdfuHfwph96GkJhBmsLOj6j1Wll+U5e0aU=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696026261; v=1; b=CNr2tSgS2vTPyHzDyYgMrOMo8Rymo8RU2rLg6CP9nTi9UaLmHAHPfaS5E0LhxYa28Pu6K2oe O8+KCBPD8kgUGkgAmdTOp//X8XmaWV/XZizXY4+GFyfmPxHrsxC3VihaRmkn98TEQ4H2woGqvVU fegqincrDuhrsBrd1jDQlydY= X-Received: by 127.0.0.2 with SMTP id WpYXYY1788612xocZuPdfHmq; Fri, 29 Sep 2023 15:24:21 -0700 X-Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.30902.1696026260550130200 for ; Fri, 29 Sep 2023 15:24:20 -0700 X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5046bf37daeso13685528e87.1 for ; Fri, 29 Sep 2023 15:24:20 -0700 (PDT) X-Gm-Message-State: Fc6dwf4PRESEsjrjILEkYPIzx1787277AA= X-Google-Smtp-Source: AGHT+IEo13apLDv75osG3uxnTcYkIBE8gR07to+1DeHRkm8VHGszkgypVJ3WzlNp6L5wd0Qg+TUclA== X-Received: by 2002:a05:6512:6c6:b0:503:7dd:7ebf with SMTP id u6-20020a05651206c600b0050307dd7ebfmr5937868lff.63.1696026258500; Fri, 29 Sep 2023 15:24:18 -0700 (PDT) X-Received: from localhost.localdomain ([185.9.78.108]) by smtp.gmail.com with ESMTPSA id l3-20020ac24303000000b005032907710asm3588606lfh.237.2023.09.29.15.24.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 29 Sep 2023 15:24:18 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 1/2] RedfishClientPkg/.github: tune file list for uncrustify check Date: Sat, 30 Sep 2023 01:24:13 +0300 Message-Id: <20230929222414.47115-2-mike.maslenkin@gmail.com> In-Reply-To: <20230929222414.47115-1-mike.maslenkin@gmail.com> References: <20230929222414.47115-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1696026263029100008 Content-Type: text/plain; charset="utf-8" Original "HEAD~$NO_COMMITS" returns a diff agains current repo state including not stashed changes. As the purpose of uncrustify is to check commits, let's get changes against HEAD itself and ignore local modifications. Signed-off-by: Mike Maslenkin --- .github/workflows/uncrustify-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/uncrustify-check.sh b/.github/workflows/uncr= ustify-check.sh index ff61a6ae0f61..c94b892634b8 100755 --- a/.github/workflows/uncrustify-check.sh +++ b/.github/workflows/uncrustify-check.sh @@ -31,7 +31,7 @@ fi cd "$REPO_PATH" =20 FAILURE=3D0 -CHANGED_FILES=3D$(git diff --name-only HEAD~$NO_COMMITS | grep '\(\.c$\|\.= h$\)') +CHANGED_FILES=3D$(git diff --name-only HEAD~$NO_COMMITS..HEAD | grep '\(\.= c$\|\.h$\)') if [ -z "$CHANGED_FILES" ] then echo "No c or h file to run uncrustify check" --=20 2.32.0 (Apple Git-132) -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109231): https://edk2.groups.io/g/devel/message/109231 Mute This Topic: https://groups.io/mt/101667894/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-