Make read_patch_file work on a strbuf.
commit9a76adebd6dfe144c3643e7e877fff2b41be5c8e
authorPierre Habouzit <madcoder@debian.org>
Thu, 27 Sep 2007 11:33:19 +0000 (27 13:33 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 30 Sep 2007 04:39:29 +0000 (29 21:39 -0700)
tree0a66f6a98cb9529c3d1817c2b70424b7dd4532b0
parent387e7e19d7eb5444be8da8e99ed7491989dc1cbb
Make read_patch_file work on a strbuf.

So that we don't need to use strbuf_detach.

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