While commit and tag messages could contain a magic string like ENDOFOUTPUTGITMESSAGEHERE they can't contain \0. We should probably use that as a delimiter.

CommentFileSizeAuthor
#1 1502978-magic-delimiter-1.patch2.5 KBNiklas Fiekas

Comments

Niklas Fiekas’s picture

sdboyer’s picture

i hate that delimiter as well, and i experimented with this very idea myself. what worried me about it was the way that PHP, being C-based, handles nul bytes. i can't remember what i came to, but we've got tests that verify this stuff now, so...let's try it :)