summaryrefslogtreecommitdiff
path: root/include/git2/sys/commit.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce GIT_CALLBACK macro to enforce cdeclEdward Thomson2019-01-171-1/+1
| | | | | | | | | Since we now always build the library with cdecl calling conventions, our callbacks should be decorated as such so that users will not be able to provide callbacks defined with other calling conventions. The `GIT_CALLBACK` macro will inject the `__cdecl` attribute as appropriate.
* Add git_commit_amend APIRussell Belfer2014-02-071-3/+37
| | | | | | | | | This adds an API to amend an existing commit, basically a shorthand for creating a new commit filling in missing parameters from the values of an existing commit. As part of this, I also added a new "sys" API to create a commit using a callback to get the parents. This allowed me to rewrite all the other commit creation APIs so that temporary allocations are no longer needed.
* commit: remvoe legacy 'oid' namingCarlos Martín Nieto2014-01-251-1/+1
|
* commit: make create_from_oids() accept plain oidnulltoken2013-05-051-2/+3
|
* Move git_commit_create_from_oids into sys/commit.hRussell Belfer2013-04-211-0/+45
Actually this renames git_commit_create_oid to git_commit_create_from_oids and moves the API declaration to include/git2/sys/commit.h since it is a dangerous API for general use (because it doesn't check that the OID list items actually refer to real objects).