From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mx.groups.io with SMTP id smtpd.web10.175220.1680830933400553259 for ; Thu, 06 Apr 2023 18:28:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=WrNF9xyv; spf=pass (domain: bsdio.com, ip: 64.147.123.19, mailfrom: rebecca@bsdio.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2EAA9320095B; Thu, 6 Apr 2023 21:28:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 06 Apr 2023 21:28:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1680830931; x=1680917331; bh=tsrVz7G9t4 Zw8CL5GgUzzv1V6kORsSzBZ4grwQkSWuc=; b=WrNF9xyv9bWcgFjN1itkDzkG7L hyExNxNusmcbQfncKcyorMIGInBMxgOCGZkoT4w0wPhp1IwUqwRQ3Lmy9zNpT6Ab auRnSizhfSBGYVBlrlp/zxyvfV5jiBQFZqIeeGtU6i9fNeRf9TxKOSRYQnX0XLkn 3XDZlRfict9t0RYVXmOa40RCm+6hUbtez2fOFrj/UVJXXyP8LHhoJQu4/Iw9irqL aqEP8RPPpG17zef2wh20mMPKJv21Ebf7+CrKvH5pj3WQSUiZanZPZ46FJilNMZb3 8o1RuF4V2+ROxkLresKBLXTcGuCekxeSbWEUjaq9Od9TJ7ig3tYYBPg4Q2Mw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680830931; x=1680917331; bh=tsrVz7G9t4Zw8 CL5GgUzzv1V6kORsSzBZ4grwQkSWuc=; b=N3wE5c6+Ki6S5ZXHbb1xhFoAmpM3F qXiB/5ylISe8JSbCiVrgsA4uhgrB4dR3YkfaXi2R+hjfZj5/x12hFqxEH5yHAcEz fFoqeE41hQU+bft3n349KUW43KnbbJ0mu3sAJ+LqYrI+QTPlqOVrtlfraD/Z3FnF 2IYoiYsDQCwiLPxHOvNyCm3WNK7od+UFFCjIhCkHG7ZuCwGjUz6lMqYwM/jUnYSF QwX1rrNEiWnmEN8jCUQhRxszgZu4M7es0ZkDqXvuzeWvTOXvWW2DajVMa+bm+M3a hMZqSx51UvaDV+uZtv3An+ipuwwS/KYqxFV76ZyR2L9jMiciK31G+VfUQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejgedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptfgvsggvtggt rgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrthhtvg hrnhepuedvkedtleekueekgfejjeettefftdduiefffeehveefgfevueelgffhleelgfdv necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsg gvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Apr 2023 21:28:50 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Liming Gao , Bob Feng , Yuwei Chen Cc: Rebecca Cran Subject: [PATCH 1/1] BaseTools: Update SetupGit.py to add new 'fp' alias for patch formatting Date: Thu, 6 Apr 2023 19:28:46 -0600 Message-Id: <20230407012846.2284954-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To help people format patches with the correct options, add an alias named 'fp' to SetupGit.py that runs format-patch with '-M --stat=1000 --stat-graph-width=20'. Signed-off-by: Rebecca Cran --- BaseTools/Scripts/SetupGit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseTools/Scripts/SetupGit.py b/BaseTools/Scripts/SetupGit.py index 91814199bfb9..5f93124967bf 100644 --- a/BaseTools/Scripts/SetupGit.py +++ b/BaseTools/Scripts/SetupGit.py @@ -57,6 +57,8 @@ MIN_GIT_VERSION = (1, 9, 0) # Set of options to be set identically for all repositories OPTIONS = [ + {'section': 'alias', 'option': 'fp', + 'value': 'format-patch -M --stat=1000 --stat-graph-width=20'}, {'section': 'am', 'option': 'keepcr', 'value': True}, {'section': 'am', 'option': 'signoff', 'value': True}, {'section': 'cherry-pick', 'option': 'signoff', 'value': True}, -- 2.34.1