Change from using rev-list to cherry for list of commits. Will remove commits already tracked in default branch from checked commits. This should prove to be more accurate than rev-list which did not respect boundaries of branches/tree.
Includes fix for new line characters being randomly added to output after switch over to using hash objects to store commit data directly.
Signed-off-by: Martin Lowe firstname.lastname@example.org