Re: git patch-id fails on long lines
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 20, 2011, 20:11 UTC
- Message-ID
- <7vehzb5602.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1316541771-sup-9996@pimlott.net>
Andrew Pimlott <andrew@pimlott.net> writes:
> In patch-id.c, get_one_patchid uses a fixed 1000-char buffer to read a line.
Thanks; builtin/patch-id.c is parhaps one of the more ancient part of the system and it hasn't been updated to use more modern facility like strbuf API.
Fix should be pretty straightforward. Any takers?