summaryrefslogtreecommitdiff
path: root/src/git/thread-utils.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-23 16:51:31 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:07 +0200
commit655d381a1948783d7d26ff9ec5ef54ed6bbefb29 (patch)
treebcc85e9ef60749eb8a4cd9db1c9f7b3b974ff407 /src/git/thread-utils.h
parent47c31f584e09d79f3674987582a60c7bb6b673c0 (diff)
downloadlibgit2-655d381a1948783d7d26ff9ec5ef54ed6bbefb29.tar.gz
Add topological sorting and new insertion methods for commit lists.
'git_commit_list_toposort()' and 'git_commit_list_timesort()' now sort a commit list by topological and time order respectively. Both sorts are stable and in place. 'git_commit_list_append' has been replaced by 'git_commit_list_push_back' and 'git_commit_list_push_front'. Signed-off-by: Vicent Marti <tanoku@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/git/thread-utils.h')
0 files changed, 0 insertions, 0 deletions