diff options
author | Russell Belfer <rb@github.com> | 2013-01-09 16:00:16 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-01-15 09:51:35 -0800 |
commit | 851ad65081793bb5fd65052907bf1c3c4e7e5729 (patch) | |
tree | f548ff1dbc20894aebfabfe2cf6e19ba372bbfb0 /src/commit.c | |
parent | a49340c3e5de90ca551b46ea79573c428e3836b0 (diff) | |
download | libgit2-851ad65081793bb5fd65052907bf1c3c4e7e5729.tar.gz |
Add payload "_r" versions of bsearch and tsort
git__bsearch and git__tsort did not pass a payload through to the
comparison function. This makes it impossible to implement sorted
lists where the sort order depends on external data (e.g. building
a secondary sort order for the entries in a tree). This commit
adds git__bsearch_r and git__tsort_r versions that pass a third
parameter to the cmp function of a user payload.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions