]> git.ipfire.org Git - thirdparty/git.git/commit - strbuf.c
strbuf: add strbuf_reencode helper
authorJeff King <peff@peff.net>
Thu, 22 May 2014 09:30:14 +0000 (05:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2014 16:59:21 +0000 (09:59 -0700)
commitd4241f52d1a19bf464d63cbc4cd67fcc6a3af01d
tree470748d39f2a7747f0b892a38cf374c55b4b3e6f
parente31316263af98c4583be39b469f3152a23eba91d
strbuf: add strbuf_reencode helper

This is a convenience wrapper around `reencode_string_len`
and `strbuf_attach`.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-strbuf.txt
strbuf.c
strbuf.h