Code

add strbuf_adddup()
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 10 Nov 2007 11:16:05 +0000 (12:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Nov 2007 10:04:46 +0000 (02:04 -0800)
commit91db267ec849279053cf3ac3066c2f2c11db4321
tree880d841fcc82d4c77d6fe4dfffb8ffb2139ff32a
parentf29d59586c2a1666d18776cca5d96752dec0e8a2
add strbuf_adddup()

Add a new function, strbuf_adddup(), that appends a duplicate of a
part of a struct strbuf to end of the latter.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strbuf.c
strbuf.h