From 0b703dbcee7103f07804d0a4328d1593355c4324 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 28 Aug 2014 09:43:45 -0600 Subject: [PATCH] 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 --- tools/patman/gitutil.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.5