[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5570/8267] scripts/oe-build-perf-report: improve guessing of args
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5570/8267] scripts/oe-build-perf-report: improve guessing of args
- Date: Sun, 17 Dec 2017 03:37:31 +0000 (UTC)
commit dff701ffd4e67fa80f37b16c1d1bc0fdbaac2bd9
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date: Fri Apr 7 14:51:41 2017 +0300
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>
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 6f2db49..ced5ff2 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]