buildman: Allow branch names which conflict with directories
authorSimon Glass <sjg@chromium.org>
Sun, 13 Mar 2016 01:50:31 +0000 (18:50 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Mar 2016 03:27:39 +0000 (21:27 -0600)
commitd4c8572b7187cc21ca39d185fd19813e69fbd515
tree2c3562338849c535e5ec6ecb530927161fbf54f1
parent59b35ddd2684bc2f81352d8cd14037752d9b639b
buildman: Allow branch names which conflict with directories

At present if you try to use buildman with the branch 'test' it will
complain that it is unsure whether you mean the branch or the directory.
This is a feature of the 'git log' command that buildman uses. Fix it
by resolving the ambiguity.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
tools/buildman/func_test.py
tools/patman/gitutil.py