Just to be sure - changing
if line.startswith('-- '):
into something like:
if line == '-- ':
won't fix anything. Patch generated by commands like:
echo '- ' > a; echo '+ '> b; diff -u a b
will still be truncated.I can see that git format-patch has --no-signature option. Probably this should be used instead of the error-prone diff parsing. Regards, robert -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

