mirror of https://github.com/acidanthera/audk.git
BaseTools: Update SetupGit.py to add new 'fp' alias for patch formatting
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> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
c9fb11f92f
commit
797f526ae2
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue