summaryrefslogtreecommitdiffstats
path: root/scripts
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-10 23:00:44 +0100
commitdff701ffd4e67fa80f37b16c1d1bc0fdbaac2bd9 (patch)
tree4db30b35bc789789530dac59da1e82503e615862 /scripts
parent182dd45f1f368567ab8099e22536a32423018a7b (diff)
downloadpoky-dff701ffd4e67fa80f37b16c1d1bc0fdbaac2bd9.tar.gz
scripts/oe-build-perf-report: improve guessing of args
Search remote branches, too, when finding the latest commit. (From OE-Core rev: 7b502702be5d484c6f1f903426ba63cf04f8ca4a) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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):
380 """Guess arguments, if not defined by the user""" 380 """Guess arguments, if not defined by the user"""
381 # Get the latest commit in the repo 381 # Get the latest commit in the repo
382 log.debug("Guessing arguments from the latest commit") 382 log.debug("Guessing arguments from the latest commit")
383 msg = repo.run_cmd(['log', '-1', '--branches', '--format=%b']) 383 msg = repo.run_cmd(['log', '-1', '--branches', '--remotes', '--format=%b'])
384 for line in msg.splitlines(): 384 for line in msg.splitlines():
385 split = line.split(':', 1) 385 split = line.split(':', 1)
386 if len(split) != 2: 386 if len(split) != 2: