提交 0b703dbc 编写于 作者: S Simon Glass

patman: Fix detection of git version

A missing 'global' declaration means that this feature does not currently
work. Fix it.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 e30965db
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册