Alex Hornung ffc03cfcc1 gerrit driver: fix bug around unicode branch names
If a branch name contains unicode characters that are more than 1-byte
wide, the size in bytes of the pack record won't match the size in
characters, and the pack parsing will be incorrect.

Instead, treat everything as an encoded byte string until parsing is
done - and only decode when handling a single, parsed, record.

Change-Id: I7f1a0cc96a36129fbc04c7a8687da3f66c1eef99
2023-01-24 17:08:53 +00:00
..
2022-04-25 09:30:48 -05:00
2022-08-19 10:08:57 -07:00