From: Thomas Hochstein Date: Sat, 10 Aug 2013 23:47:32 +0000 (+0200) Subject: Add empty 'virtual' .ALL hierarchies as needed. X-Git-Tag: 0.01~1^2~7^2~1 X-Git-Url: https://code.th-h.de/?p=usenet%2Fnewsstats.git;a=commitdiff_plain;h=b5125b1099cf5cf12beb0520d5896b9a1d7850ae;hp=b5125b1099cf5cf12beb0520d5896b9a1d7850ae Add empty 'virtual' .ALL hierarchies as needed. When using a --checkgroups file while tabulating, valid but empty groups will be added with a posting count of zero as needed. If all groups in a sub-hierarchy are empty, the virtual '.ALL' group for that sub-hierarchy was not created, though. If local.test.dummy and local.test.binary were both empty, both groups were added with a posting count of '0', but local.test.ALL was not. Now we loop through all hierarchy elements using ParseHierarchies and add empty .ALL hierarchies as needed. Fixes #49. Also fixing a typo in some comment. :-) Signed-off-by: Thomas Hochstein ---