Goal ~~~~ Packet related functions in Perl can be useful to write new filters or to debug or test existing filters. So instead of having them in t0021/rot13-filter.pl, let's extract them into a new Git/Packet.pm module. Links ~~~~~ This patch series has been extracted from previous "Add initial experimental external ODB support" patch series. Version 1, 2, 3, 4, 5 and 6 of this previous series are on the mailing list here: https://public-inbox.org/git/20160613085546.11784-1-chriscool@xxxxxxxxxxxxx/ https://public-inbox.org/git/20160628181933.24620-1-chriscool@xxxxxxxxxxxxx/ https://public-inbox.org/git/20161130210420.15982-1-chriscool@xxxxxxxxxxxxx/ https://public-inbox.org/git/20170620075523.26961-1-chriscool@xxxxxxxxxxxxx/ https://public-inbox.org/git/20170803091926.1755-1-chriscool@xxxxxxxxxxxxx/ https://public-inbox.org/git/20170916080731.13925-1-chriscool@xxxxxxxxxxxxx/ They are also available in the following branches: https://github.com/chriscool/git/commits/gl-external-odb12 https://github.com/chriscool/git/commits/gl-external-odb22 https://github.com/chriscool/git/commits/gl-external-odb61 https://github.com/chriscool/git/commits/gl-external-odb239 https://github.com/chriscool/git/commits/gl-external-odb373 https://github.com/chriscool/git/commits/gl-external-odb411 Christian Couder (6): t0021/rot13-filter: refactor packet reading functions t0021/rot13-filter: improve 'if .. elsif .. else' style t0021/rot13-filter: improve error message t0021/rot13-filter: add packet_initialize() t0021/rot13-filter: add capability functions Add Git/Packet.pm from parts of t0021/rot13-filter.pl perl/Git/Packet.pm | 118 ++++++++++++++++++++++++++++++++++++++++++++++++ t/t0021/rot13-filter.pl | 110 +++++++++----------------------------------- 2 files changed, 140 insertions(+), 88 deletions(-) create mode 100644 perl/Git/Packet.pm -- 2.15.0.rc1.106.g7e97f58a41