mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
patman: Fix detection of git version
A missing 'global' declaration means that this feature does not currently work. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e30965db0c
commit
0b703dbcee
1 changed files with 2 additions and 0 deletions
|
@ -481,6 +481,8 @@ def GetDefaultUserEmail():
|
|||
def Setup():
|
||||
"""Set up git utils, by reading the alias files."""
|
||||
# Check for a git alias file also
|
||||
global use_no_decorate
|
||||
|
||||
alias_fname = GetAliasFile()
|
||||
if alias_fname:
|
||||
settings.ReadGitAliases(alias_fname)
|
||||
|
|
Loading…
Add table
Reference in a new issue