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
|
|
@ -481,6 +481,8 @@ def GetDefaultUserEmail():
|
||||||
def Setup():
|
def Setup():
|
||||||
"""Set up git utils, by reading the alias files."""
|
"""Set up git utils, by reading the alias files."""
|
||||||
# Check for a git alias file also
|
# Check for a git alias file also
|
||||||
|
global use_no_decorate
|
||||||
|
|
||||||
alias_fname = GetAliasFile()
|
alias_fname = GetAliasFile()
|
||||||
if alias_fname:
|
if alias_fname:
|
||||||
settings.ReadGitAliases(alias_fname)
|
settings.ReadGitAliases(alias_fname)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue