1
0
Fork 0

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>
utp
Simon Glass 2014-08-28 09:43:45 -06:00
parent e30965db0c
commit 0b703dbcee
1 changed files with 2 additions and 0 deletions

View File

@ -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)