]> git.99rst.org Git - git.git/commit
name-rev.c: use strbuf_getline instead of limited size buffer
authorJohn Cai <redacted>
Wed, 5 Jan 2022 23:29:32 +0000 (23:29 +0000)
committerJunio C Hamano <redacted>
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" <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/name-rev.c
git clone https://git.99rst.org/PROJECT