diff options
author | Brian Gesiak <modocache@gmail.com> | 2014-04-30 17:58:06 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-06 15:33:39 -0700 |
commit | 3bb55e8aa86f054c081c372b227f723e3aad14c7 (patch) | |
tree | 767922f4f740f8f611947626354d48f4f60c7cde /Documentation/RelNotes/1.8.2.2.txt | |
parent | Merge branch 'db/make-with-curl' (diff) | |
download | tgif-3bb55e8aa86f054c081c372b227f723e3aad14c7.tar.xz |
strbuf: use _rtrim and _ltrim in strbuf_trim
strbuf_trim() strips whitespace from the end, then the beginning of
a strbuf. Those operations are duplicated in strbuf_rtrim() and
strbuf_ltrim().
Replace strbuf_trim() implementation with calls to strbuf_rtrim(),
then strbuf_ltrim().
Signed-off-by: Brian Gesiak <modocache@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.8.2.2.txt')
0 files changed, 0 insertions, 0 deletions