]> git.sur5r.net Git - u-boot/commitdiff
patman: Fix detection of git version
authorSimon Glass <sjg@chromium.org>
Thu, 28 Aug 2014 15:43:45 +0000 (09:43 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 5 Sep 2014 19:40:43 +0000 (13:40 -0600)
A missing 'global' declaration means that this feature does not currently
work. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/gitutil.py

index fbd170f178df8b207ec4cc0a938bbbfe8c7bff32..80edc7c2c6ca0b1072abb247605b8d0ee023b7f1 100644 (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)