Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 26, 2012
  1. @mhagger @gitster

    Add new function strbuf_add_xml_quoted()

    mhagger authored gitster committed
    Substantially the same code is present in http-push.c and imap-send.c,
    so make a library function out of it.
    Signed-off-by: Michael Haggerty <>
    Signed-off-by: Junio C Hamano <>
Commits on Nov 4, 2012
  1. @mhagger @peff

    strbuf_split*(): document functions

    mhagger authored peff committed
    Document strbuf_split_buf(), strbuf_split_str(), strbuf_split_max(),
    strbuf_split(), and strbuf_list_free() in the header file and in
    api-strbuf.txt.  (These functions were previously completely
    Signed-off-by: Michael Haggerty <>
    Signed-off-by: Jeff King <>
  2. @mhagger @peff

    strbuf_split*(): rename "delim" parameter to "terminator"

    mhagger authored peff committed
    The word "delimiter" suggests that the argument separates the
    substrings, whereas in fact (1) the delimiter characters are included
    in the output, and (2) if the input string ends with the delimiter,
    then the output does not include a final empty string.  So rename the
    "delim" arguments of the strbuf_split() family of functions to
    "terminator", which is more suggestive of how it is used.
    Signed-off-by: Michael Haggerty <>
    Signed-off-by: Jeff King <>
Something went wrong with that request. Please try again.