mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
chore: upgrade to libgit2-1.2.0
This commit is contained in:
parent
b83fea9360
commit
a1e420d86c
36 changed files with 2889 additions and 1024 deletions
|
@ -74,14 +74,38 @@ typedef struct {
|
|||
*/
|
||||
git_checkout_options checkout_options;
|
||||
|
||||
/**
|
||||
* Optional callback that allows users to override commit
|
||||
* creation in `git_rebase_commit`. If specified, users can
|
||||
* create their own commit and provide the commit ID, which
|
||||
* may be useful for signing commits or otherwise customizing
|
||||
* the commit creation.
|
||||
*
|
||||
* If this callback returns `GIT_PASSTHROUGH`, then
|
||||
* `git_rebase_commit` will continue to create the commit.
|
||||
*/
|
||||
git_commit_create_cb commit_create_cb;
|
||||
|
||||
#ifdef GIT_DEPRECATE_HARD
|
||||
void *reserved;
|
||||
#else
|
||||
/**
|
||||
* If provided, this will be called with the commit content, allowing
|
||||
* a signature to be added to the rebase commit. Can be skipped with
|
||||
* GIT_PASSTHROUGH. If GIT_PASSTHROUGH is returned, a commit will be made
|
||||
* without a signature.
|
||||
*
|
||||
* This field is only used when performing git_rebase_commit.
|
||||
*
|
||||
* This callback is not invoked if a `git_commit_create_cb` is
|
||||
* specified.
|
||||
*
|
||||
* This callback is deprecated; users should provide a
|
||||
* creation callback as `commit_create_cb` that produces a
|
||||
* commit buffer, signs it, and commits it.
|
||||
*/
|
||||
git_commit_signing_cb signing_cb;
|
||||
int (*signing_cb)(git_buf *, git_buf *, const char *, void *);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This will be passed to each of the callbacks in this struct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue