diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-04-07 14:51:41 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-08 22:48:08 +0100 |
commit | 7b502702be5d484c6f1f903426ba63cf04f8ca4a (patch) | |
tree | 1601852d96a2d70bd349414313af49300cdb1478 /scripts/oe-build-perf-report | |
parent | 5e07504d7a74f0641e2a374b9d12590ce9c9cc89 (diff) | |
download | openembedded-core-contrib-7b502702be5d484c6f1f903426ba63cf04f8ca4a.tar.gz |
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>
Diffstat (limited to 'scripts/oe-build-perf-report')
-rwxr-xr-x | scripts/oe-build-perf-report | 2 |
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: |