diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-06-28 19:15:48 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-06-28 19:36:27 +0200 |
| commit | d5afc0390c3ef919fcde23300d7aefdaeafa5daa (patch) | |
| tree | 0b661ef8536266c5bf5de645025c8072bc35dc85 /src/commit.h | |
| parent | 0b10c9ea6ef5d85d862edd044d96561c4fd16e9b (diff) | |
| download | libgit2-d5afc0390c3ef919fcde23300d7aefdaeafa5daa.tar.gz | |
Remove redundant methods from the API
A bunch of redundant methods have been removed from the external API.
- All the reference/tag creation methods with `_f` are gone. The force
flag is now passed as an argument to the normal create methods.
- All the different commit creation methods are gone; commit creation
now always requires a `git_commit` pointer for parents and a `git_tree`
pointer for tree, to ensure that corrupted commits cannot be generated.
- All the different tag creation methods are gone; tag creation now
always requires a `git_object` pointer to ensure that tags are not
created to inexisting objects.
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions
