Git/Packet.pm: extract parts of t0021/rot13-filter.pl for reuse
commit0fe8d516bb70c675fc9cea9339247b01f7e96cad
authorChristian Couder <christian.couder@gmail.com>
Sun, 5 Nov 2017 21:38:36 +0000 (5 22:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Nov 2017 01:26:01 +0000 (7 10:26 +0900)
tree7b6ef8b926e34f0cbb3f0865224201b53446de71
parentf11c8ce1f6fe85f11d6f6e4453fa81b6b6389b06
Git/Packet.pm: extract parts of t0021/rot13-filter.pl for reuse

And while at it let's simplify t0021/rot13-filter.pl by
using Git/Packet.pm.

This will make it possible to reuse packet related
functions in other test scripts.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git/Packet.pm [new file with mode: 0644]
perl/Makefile
t/t0021/rot13-filter.pl