summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-28 09:43:45 -0600
committerSimon Glass <sjg@chromium.org>2014-09-05 13:40:43 -0600
commit0b703dbcee7103f07804d0a4328d1593355c4324 (patch)
tree7d70778aac18281246a9c617cc8bd7cdab6e8fba /tools
parente30965db0c668cf1269be97c4b8c0d357c85a8ae (diff)
downloadu-boot-imx-0b703dbcee7103f07804d0a4328d1593355c4324.zip
u-boot-imx-0b703dbcee7103f07804d0a4328d1593355c4324.tar.gz
u-boot-imx-0b703dbcee7103f07804d0a4328d1593355c4324.tar.bz2
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/gitutil.py2
1 files changed, 2 insertions, 0 deletions
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)