diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-05-23 04:37:39 +0200 |
---|---|---|
committer | Andreas Ericsson <ae@op5.se> | 2010-06-02 10:32:06 +0200 |
commit | b60488e1d7564716dc2ae7ce078a415280bd7df6 (patch) | |
tree | 88ccfe32b8a8455a7d6e709666494c33c7387050 /src/commit.h | |
parent | 5e15176dac8b0baa6f7950f5f763608c83b29093 (diff) | |
download | libgit2-b60488e1d7564716dc2ae7ce078a415280bd7df6.tar.gz |
Added sort method for commit lists.
Fixed bug when parsing time headers from commits.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.h')
-rw-r--r-- | src/commit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit.h b/src/commit.h index 818d98c06..72ea4e962 100644 --- a/src/commit.h +++ b/src/commit.h @@ -47,5 +47,6 @@ void git_commit_list_clear(git_commit_list *list, int free_commits); void git_commit_list_append(git_commit_list *list, git_commit *commit); git_commit *git_commit_list_pop_back(git_commit_list *list); git_commit *git_commit_list_pop_front(git_commit_list *list); +void git_commit_list_sort(git_commit_list *list); #endif |