* [PATCH 1/1] BaseTools: Update SetupGit.py to add new 'fp' alias for patch formatting
@ 2023-04-07 1:28 Rebecca Cran
0 siblings, 0 replies; only message in thread
From: Rebecca Cran @ 2023-04-07 1:28 UTC (permalink / raw)
To: devel, Liming Gao, Bob Feng, Yuwei Chen; +Cc: Rebecca Cran
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 <rebecca@bsdio.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-07 1:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-07 1:28 [PATCH 1/1] BaseTools: Update SetupGit.py to add new 'fp' alias for patch formatting Rebecca Cran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox