X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fpatch-id.c;h=49a0472a9bd28274c4be1352996e700a1db4b94a;hb=ded7e0491b78e3e8384bcd9f63918c52785c4cd6;hp=512530022edac398f8541ee6c400c7312659e730;hpb=8a59702ad888c8c399b096759c1c678ffeca5b03;p=git.git diff --git a/builtin/patch-id.c b/builtin/patch-id.c index 512530022..49a0472a9 100644 --- a/builtin/patch-id.c +++ b/builtin/patch-id.c @@ -73,6 +73,8 @@ int get_one_patchid(unsigned char *next_sha1, git_SHA_CTX *ctx) p += 7; else if (!memcmp(line, "From ", 5)) p += 5; + else if (!memcmp(line, "\\ ", 2) && 12 < strlen(line)) + continue; if (!get_sha1_hex(p, next_sha1)) { found_next = 1;