summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-04-07 14:51:41 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-08 22:48:08 +0100
commit7b502702be5d484c6f1f903426ba63cf04f8ca4a (patch)
tree1601852d96a2d70bd349414313af49300cdb1478
parent5e07504d7a74f0641e2a374b9d12590ce9c9cc89 (diff)
downloadopenembedded-core-contrib-7b502702be5d484c6f1f903426ba63cf04f8ca4a.tar.gz
openembedded-core-contrib-7b502702be5d484c6f1f903426ba63cf04f8ca4a.tar.bz2
openembedded-core-contrib-7b502702be5d484c6f1f903426ba63cf04f8ca4a.zip
scripts/oe-build-perf-report: improve guessing of args
Search remote branches, too, when finding the latest commit. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-build-perf-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 6f2db49d5c..ced5ff2e12 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -380,7 +380,7 @@ def auto_args(repo, args):
"""Guess arguments, if not defined by the user"""
# Get the latest commit in the repo
log.debug("Guessing arguments from the latest commit")
- msg = repo.run_cmd(['log', '-1', '--branches', '--format=%b'])
+ msg = repo.run_cmd(['log', '-1', '--branches', '--remotes', '--format=%b'])
for line in msg.splitlines():
split = line.split(':', 1)
if len(split) != 2: