strbuf.c: add `strbuf_insertf()` and `strbuf_vinsertf()`
authorPaul-Sebastian Ungureanu <redacted>
Mon, 25 Feb 2019 23:16:07 +0000 (23:16 +0000)
committerJunio C Hamano <redacted>
Thu, 28 Feb 2019 23:03:46 +0000 (08:03 +0900)
commit5ef264dbdbc48b44ad5fc37e7542f3dc70e3e8c5
tree7cdcd347f866864ddd78f5faac397751624e04f3
parente71c4a88f65ca1d325f52b19bf79c3660eab50f7
strbuf.c: add `strbuf_insertf()` and `strbuf_vinsertf()`

Implement `strbuf_insertf()` and `strbuf_vinsertf()` to
insert data using a printf format string.

Original-idea-by: Johannes Schindelin <redacted>
Signed-off-by: Paul-Sebastian Ungureanu <redacted>
Helped-by: Johannes Sixt <redacted>
Signed-off-by: Thomas Gummerer <redacted>
Signed-off-by: Junio C Hamano <redacted>
strbuf.c
strbuf.h
git clone https://git.99rst.org/PROJECT