]> git.ipfire.org Git - thirdparty/git.git/commit - archive-tar.c
Simplify strbuf uses in archive-tar.c using strbuf API
authorPierre Habouzit <madcoder@debian.org>
Thu, 6 Sep 2007 11:20:06 +0000 (13:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Sep 2007 06:57:44 +0000 (23:57 -0700)
commit7a604f16b71e3bfd1c6e30d400f05be918e5376e
treeb078ea866a9cc4e95b962640f78ad267f06741c7
parentb449f4cfc972929b638b90d375b8960c37790618
Simplify strbuf uses in archive-tar.c using strbuf API

  This is just cleaner way to deal with strbufs, using its API rather than
reinventing it in the module (e.g. strbuf_append_string is just the plain
strbuf_addstr function, and it was used to perform what strbuf_addch does
anyways).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c