diff options
author | René Scharfe <l.s.r@web.de> | 2014-07-10 10:52:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-10 14:06:45 -0700 |
commit | e992d1eb39033206dd44143ff28214b837c3d89f (patch) | |
tree | 649d3e17694ea502150059fe044be36a59ecb71d /pretty.c | |
parent | Sixth batch for 2.1 (diff) | |
download | tgif-e992d1eb39033206dd44143ff28214b837c3d89f.tar.xz |
use strbuf_addbuf for adding strbufs
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.c')
-rw-r--r-- | pretty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1376,7 +1376,7 @@ static size_t format_and_pad_commit(struct strbuf *sb, /* in UTF-8 */ case trunc_none: break; } - strbuf_addstr(sb, local_sb.buf); + strbuf_addbuf(sb, &local_sb); } else { int sb_len = sb->len, offset = 0; if (c->flush_type == flush_left) |