Code

Function stripspace now gets a buffer instead file descriptors.
authorCarlos Rica <jasampler@gmail.com>
Wed, 11 Jul 2007 18:50:34 +0000 (20:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jul 2007 04:17:07 +0000 (21:17 -0700)
commit975e0daf5edba09060147d643e628b8c89e1d467
treea68a6f1aba6261f2d6aa020600b994deb5223753
parent73f893605050c291dd8c4d8f3f50b8fec47dcf51
Function stripspace now gets a buffer instead file descriptors.

An implementation easier to call from builtins. It is designed
to be used from the upcoming builtin-tag.c and builtin-commit.c,
because both need to remove unwanted spaces from messages.

Signed-off-by: Carlos Rica <jasampler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-stripspace.c
builtin.h