summaryrefslogtreecommitdiffstats
path: root/tools/patman
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/patman
parente30965db0c668cf1269be97c4b8c0d357c85a8ae (diff)
downloadtalos-obmc-uboot-0b703dbcee7103f07804d0a4328d1593355c4324.tar.gz
talos-obmc-uboot-0b703dbcee7103f07804d0a4328d1593355c4324.zip
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/patman')
-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 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)
OpenPOWER on IntegriCloud