]> git.ipfire.org Git - thirdparty/git.git/commit
commit: use strbuf_add() to add a length-limited string
authorRené Scharfe <l.s.r@web.de>
Sat, 7 Dec 2019 11:16:04 +0000 (12:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Dec 2019 19:25:27 +0000 (11:25 -0800)
commit147ee35558a300a7e51af5335ef59b09fd57ab7c
treea547d8ea1d50748344e587659375712488391433
parentb697d92f56511e804b8ba20ccbe7bdc85dc66810
commit: use strbuf_add() to add a length-limited string

This is shorter and simpler.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c