]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Detect missing upstream in CountCommitsToBranch
authorSimon Glass <sjg@chromium.org>
Fri, 30 Oct 2020 03:46:34 +0000 (21:46 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000 (09:11 -0700)
commitbe051c0c7741d67f5093f6b61b64c45eb200235b
treeedeac766a4773d11556b8092d9d7daa531f9252f
parentb3348522b753450be9e442452bf42aaa032d15d1
patman: Detect missing upstream in CountCommitsToBranch

At present if we fail to find the upstream then the error output is piped
to wc, resulting in bogus results. Avoid the pipe and check the output
directly.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py
tools/patman/gitutil.py