]> git.ipfire.org Git - thirdparty/git.git/commit
name-rev.c: use strbuf_getline instead of limited size buffer
authorJohn Cai <johncai86@gmail.com>
Wed, 5 Jan 2022 23:29:32 +0000 (23:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jan 2022 17:39:26 +0000 (09:39 -0800)
commita2585719b347b57a4fb61a4ed24301cfa3cf19a7
treed90692bec41e86edce64b57fb4ddf1f36792dfe0
parent34ae3b707146c05d27cf744e58f95a25a31b3499
name-rev.c: use strbuf_getline instead of limited size buffer

Using a buffer limited to 2048 is unnecessarily limiting. Switch to
using a string buffer to read in stdin for annotation.

Signed-off-by: "John Cai" <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/name-rev.c