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
|
@ -70,12 +70,12 @@ GIT_EXTERN(int) git_revparse_ext(
|
|||
*/
|
||||
typedef enum {
|
||||
/** The spec targeted a single object. */
|
||||
GIT_REVPARSE_SINGLE = 1 << 0,
|
||||
GIT_REVSPEC_SINGLE = 1 << 0,
|
||||
/** The spec targeted a range of commits. */
|
||||
GIT_REVPARSE_RANGE = 1 << 1,
|
||||
GIT_REVSPEC_RANGE = 1 << 1,
|
||||
/** The spec used the '...' operator, which invokes special semantics. */
|
||||
GIT_REVPARSE_MERGE_BASE = 1 << 2,
|
||||
} git_revparse_mode_t;
|
||||
GIT_REVSPEC_MERGE_BASE = 1 << 2,
|
||||
} git_revspec_t;
|
||||
|
||||
/**
|
||||
* Git Revision Spec: output of a `git_revparse` operation
|
||||
|
@ -85,7 +85,7 @@ typedef struct {
|
|||
git_object *from;
|
||||
/** The right element of the revspec; must be freed by the user */
|
||||
git_object *to;
|
||||
/** The intent of the revspec (i.e. `git_revparse_mode_t` flags) */
|
||||
/** The intent of the revspec (i.e. `git_revspec_mode_t` flags) */
|
||||
unsigned int flags;
|
||||
} git_revspec;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue