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
|
@ -91,10 +91,10 @@ GIT_BEGIN_DECL
|
|||
|
||||
/**
|
||||
* The separator used in path list strings (ie like in the PATH
|
||||
* environment variable). A semi-colon ";" is used on Windows, and
|
||||
* a colon ":" for all other systems.
|
||||
* environment variable). A semi-colon ";" is used on Windows and
|
||||
* AmigaOS, and a colon ":" for all other systems.
|
||||
*/
|
||||
#ifdef GIT_WIN32
|
||||
#if defined(GIT_WIN32) || defined(AMIGA)
|
||||
#define GIT_PATH_LIST_SEPARATOR ';'
|
||||
#else
|
||||
#define GIT_PATH_LIST_SEPARATOR ':'
|
||||
|
@ -207,7 +207,9 @@ typedef enum {
|
|||
GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS,
|
||||
GIT_OPT_ENABLE_HTTP_EXPECT_CONTINUE,
|
||||
GIT_OPT_GET_MWINDOW_FILE_LIMIT,
|
||||
GIT_OPT_SET_MWINDOW_FILE_LIMIT
|
||||
GIT_OPT_SET_MWINDOW_FILE_LIMIT,
|
||||
GIT_OPT_SET_ODB_PACKED_PRIORITY,
|
||||
GIT_OPT_SET_ODB_LOOSE_PRIORITY
|
||||
} git_libgit2_opt_t;
|
||||
|
||||
/**
|
||||
|
@ -421,6 +423,14 @@ typedef enum {
|
|||
* > authentication, use expect/continue when POSTing data.
|
||||
* > This option is not available on Windows.
|
||||
*
|
||||
* opts(GIT_OPT_SET_ODB_PACKED_PRIORITY, int priority)
|
||||
* > Override the default priority of the packed ODB backend which
|
||||
* > is added when default backends are assigned to a repository
|
||||
*
|
||||
* opts(GIT_OPT_SET_ODB_LOOSE_PRIORITY, int priority)
|
||||
* > Override the default priority of the loose ODB backend which
|
||||
* > is added when default backends are assigned to a repository
|
||||
*
|
||||
* @param option Option key
|
||||
* @param ... value to set the option
|
||||
* @return 0 on success, <0 on failure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue