瀏覽代碼

buildman: Fix incorrect arguemnt in GetUpstream()

This causes an error when trying to build a local branch which has a local
branch as its upstream.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Simon Glass 10 年之前
父節點
當前提交
71edbe5cda
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/patman/gitutil.py

+ 1 - 1
tools/patman/gitutil.py

@@ -129,7 +129,7 @@ def GetUpstream(git_dir, branch):
         return upstream, msg
 
     if remote == '.':
-        return merge
+        return merge, None
     elif remote and merge:
         leaf = merge.split('/')[-1]
         return '%s/%s' % (remote, leaf), None