summaryrefslogtreecommitdiffstats
path: root/scripts/buildhistory-diff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildhistory-diff')
-rwxr-xr-xscripts/buildhistory-diff5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/buildhistory-diff b/scripts/buildhistory-diff
index e03ccc5ed8..e8e3e11649 100755
--- a/scripts/buildhistory-diff
+++ b/scripts/buildhistory-diff
@@ -33,6 +33,9 @@ def main():
33 parser.add_option("-a", "--report-all", 33 parser.add_option("-a", "--report-all",
34 help = "Report all changes, not just the default significant ones", 34 help = "Report all changes, not just the default significant ones",
35 action="store_true", dest="report_all", default=False) 35 action="store_true", dest="report_all", default=False)
36 parser.add_option("-s", "--signatures",
37 help = "Report on signature differences instead of output",
38 action="store_true", dest="sigs", default=False)
36 39
37 options, args = parser.parse_args(sys.argv) 40 options, args = parser.parse_args(sys.argv)
38 41
@@ -86,7 +89,7 @@ def main():
86 89
87 import gitdb 90 import gitdb
88 try: 91 try:
89 changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver) 92 changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver, options.sigs)
90 except gitdb.exc.BadObject as e: 93 except gitdb.exc.BadObject as e:
91 if len(args) == 1: 94 if len(args) == 1:
92 sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n") 95 sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n")