From: Simon Glass Date: Thu, 28 Aug 2014 15:43:45 +0000 (-0600) Subject: patman: Fix detection of git version X-Git-Tag: v2014.10-rc3~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b703dbcee7103f07804d0a4328d1593355c4324;p=u-boot 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 --- diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py index fbd170f178..80edc7c2c6 100644 --- a/tools/patman/gitutil.py +++ b/tools/patman/gitutil.py @@ -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)