summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-12 13:46:44 -0700
committerRussell Belfer <rb@github.com>2013-06-12 13:46:44 -0700
commitef3374a8a81786a7b544ed7eded53c95766eb02f (patch)
tree66a813ad935656e145c583dea8b23c0ccb31c6ef /include/git2/commit.h
parentf9c824c592d7a23f7cc385c25c95a5d0c5c8687e (diff)
downloadlibgit2-ef3374a8a81786a7b544ed7eded53c95766eb02f.tar.gz
Improvements to git_array
This changes the size data to uint32_t, fixes the array growth logic to use a simple 1.5x multiplier, and uses a generic inline function for growing the array to make the git_array_alloc API feel more natural (i.e. it returns a pointer to the new item).
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions