]> git.ipfire.org Git - thirdparty/git.git/commit - strbuf.c
strbuf_read_file enhancement, and use it.
authorPierre Habouzit <madcoder@debian.org>
Thu, 27 Sep 2007 13:25:55 +0000 (15:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 30 Sep 2007 04:26:10 +0000 (21:26 -0700)
commit387e7e19d7eb5444be8da8e99ed7491989dc1cbb
treeb1fcd32479e6d22abc0e2060e70ea7846fa2b273
parentb315c5c08139c0d3c1e4867a305334e29da01d07
strbuf_read_file enhancement, and use it.

* make strbuf_read_file take a size hint (works like strbuf_read)
* use it in a couple of places.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c
builtin-blame.c
builtin-tag.c
strbuf.c
strbuf.h