Merge branch 'jk/strbuf-tolower'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 17:07:16 +0000 (10:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 17:07:17 +0000 (10:07 -0700)
* jk/strbuf-tolower:
strbuf: add strbuf_tolower function

1  2 
Documentation/technical/api-strbuf.txt
config.c
strbuf.c
strbuf.h
index 4396be9dda07dfad679f834120b7f1aa2adb16c5,8480f8902d96b55727b99e9bac9dc738f12c12ca..50690186d3949de7168e579b0f7a54d6cb0dd8e5
@@@ -130,10 -125,10 +130,14 @@@ Function
  
        Strip whitespace from the end of a string.
  
 +`strbuf_ltrim`::
 +
 +      Strip whitespace from the beginning of a string.
 +
+ `strbuf_tolower`::
+       Lowercase each character in the buffer using `tolower`.
  `strbuf_cmp`::
  
        Compare two buffers. Returns an integer less than, equal to, or greater
diff --cc config.c
Simple merge
diff --cc strbuf.c
Simple merge
diff --cc strbuf.h
Simple merge