[oe-commits] [openembedded-core] 14/33: scripts/oe-build-perf-report: better guessing of args

git at git.openembedded.org git at git.openembedded.org
Wed Apr 5 11:39:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f84d0bd7deb4c19fdb1e821b3a50e8c8f54a731b
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Mon Apr 3 18:58:33 2017 +0300

    scripts/oe-build-perf-report: better guessing of args
    
    When getting info from the latest commit, don't search all refs but only
    branches. We don't get correct data from refs/tags/* or refs/notest/*,
    for example.
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/oe-build-perf-report | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 3976613..ca9cf1d 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', '--all', '--format=%b'])
+    msg = repo.run_cmd(['log', '-1', '--branches', '--format=%b'])
     for line in msg.splitlines():
         split = line.split(':', 1)
         if len(split) != 2:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list