summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2011-11-27 21:47:58 -0800
committerRussell Belfer <arrbee@arrbee.com>2011-11-27 21:56:44 -0800
commit8c74d22ebfae33323b5561d9bd988f272ff61a01 (patch)
tree29d4bfd7f0f13c141e37c1aeb8ab8cfaa41b85cf /src/commit.c
parent880b6f0c22153db164ecb3a18c362ba8337365d3 (diff)
downloadlibgit2-8c74d22ebfae33323b5561d9bd988f272ff61a01.tar.gz
Extend git_buf with new utility functions and unit tests.
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions