1. 28 Nov, 2011 2 commits
    • Add two string git_buf_join and tweak input error checking. · 3aa294fd
      This commit addresses two of the comments:
      * renamed existing n-input git_buf_join to git_buf_join_n
      * added new git_buf_join that always takes two inputs
      * moved some parameter error checking to asserts
      * extended unit tests to cover new version of git_buf_join
      Russell Belfer committed
    • Extend git_buf with new utility functions and unit tests. · 8c74d22e
      Add new functions to git_buf for:
      * initializing a buffer from a string
      * joining one or more strings onto a buffer with separators
      * swapping two buffers in place
      * extracting data from a git_buf (leaving it empty)
      
      Also, make git_buf_free leave a git_buf back in its initted state,
      and slightly tweak buffer allocation sizes and thresholds.
      
      Finally, port unit tests to clay and extend with lots of new tests
      for the various git_buf functions.
      Russell Belfer committed
  2. 26 Nov, 2011 4 commits
  3. 22 Nov, 2011 15 commits
  4. 21 Nov, 2011 6 commits
  5. 18 Nov, 2011 13 commits