The class LogPatchSplitter provides an iterator per patch. This makes the code cleaner, easier to read and more pythonic. The class only gets each commit set as lines. It is possible to test it separately by: $ git log | python logparser.py | more Signed-off-by: Germán Póo-Caamaño <gpoo@gnome.org>
2.4 KiB
2.4 KiB