summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 5669945..2b10c57 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -974,6 +974,10 @@ hsize_t diff(hid_t file1_id,
/* if "path1" != "path2" then the groups are "different" */
nfound = (ret != 0) ? 1 : 0;
+ /* if the ignore graph is present, consider a no difference */
+ if ( options->m_no_contents == 1 )
+ nfound = 0;
+
if(print_objname(options, nfound))
do_print_objname("group", path1, path2);