diff mbox

[U-Boot,v10,13/14] patman: Fix detection of git version

Message ID 1409240626-6924-14-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Aug. 28, 2014, 3:43 p.m. UTC
A missing 'global' declaration means that this feature does not currently
work. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v10: None
Changes in v9:
- Add new patch to fix detection of git version

Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None

 tools/patman/gitutil.py | 2 ++
 1 file changed, 2 insertions(+)

Comments

Simon Glass Sept. 6, 2014, 4:46 p.m. UTC | #1
Applied to u-boot-x86 branch 'patman'
diff mbox

Patch

diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py
index fbd170f..80edc7c 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)