author | Carlos Rica <jasampler@gmail.com> | |
Wed, 11 Jul 2007 18:50:34 +0000 (20:50 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 12 Jul 2007 04:17:07 +0000 (21:17 -0700) | ||
commit | 975e0daf5edba09060147d643e628b8c89e1d467 | |
tree | a68a6f1aba6261f2d6aa020600b994deb5223753 | tree | snapshot |
parent | 73f893605050c291dd8c4d8f3f50b8fec47dcf51 | commit | diff |
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>
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 | diff | blob | history | |
builtin.h | diff | blob | history |