]> sourceware.org Git - libabigail.git/commit
Avoid redundant diff report messages by default.
authorDodji Seketeli <dodji@redhat.com>
Thu, 16 Jul 2015 10:01:11 +0000 (12:01 +0200)
committerDodji Seketeli <dodji@redhat.com>
Fri, 17 Jul 2015 08:11:20 +0000 (10:11 +0200)
commit3b85f2864d67f06b56a4de1b18947d0effdb15c1
treea3546d1f25ba759296c91d6868679f1ce4020d1a
parent71a5e0762ec014ff4715e25c27e22c2f64ccf006
Avoid redundant diff report messages by default.

Just like what abidiff does, this patch avoids emitting redundant diff
report messages unless the user provides the --redundant switch.

* tools/abipkgdiff.cc (options::show_redundant_changes): New data
member.
(options::options): Initialize it.
(display_usage): Add a help string for the --redundant command
Line option.
(set_diff_context_from_opts): New static function.
(compare): Take the options variable.  Set the diff context from
the options, especially if we should show redundant changes or
not.  Use that diff context when comparing ABIs.
(parse_command_line): Parse the new --redundant command line
switch.
* doc/manuals/abipkgdiff.rst: Document the new --redundant option.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
doc/manuals/abipkgdiff.rst
tools/abipkgdiff.cc
This page took 0.033492 seconds and 5 git commands to generate.