mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
Tools: add --no-merge-base option to size_compare_branches.py
This commit is contained in:
parent
36d2c267fe
commit
ec0b51dadd
@ -338,6 +338,11 @@ if __name__ == '__main__':
|
||||
type="string",
|
||||
default="master",
|
||||
help="master branch to use")
|
||||
parser.add_option("",
|
||||
"--no-merge-base",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="do not use the merge-base for testing, do a direct comparison between branches")
|
||||
parser.add_option("",
|
||||
"--branch",
|
||||
type="string",
|
||||
@ -391,5 +396,6 @@ if __name__ == '__main__':
|
||||
run_elf_diff=(not cmd_opts.no_elf_diff),
|
||||
all_vehicles=cmd_opts.all_vehicles,
|
||||
all_boards=cmd_opts.all_boards,
|
||||
use_merge_base=not cmd_opts.no_merge_base,
|
||||
)
|
||||
x.run()
|
||||
|
Loading…
Reference in New Issue
Block a user