Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
fac43c54
Commit
fac43c54
authored
Dec 06, 2012
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow compilation as C++
parent
ed6a4187
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
include/git2/checkout.h
+1
-1
include/git2/config.h
+1
-1
include/git2/diff.h
+2
-2
include/git2/odb_backend.h
+1
-1
include/git2/remote.h
+1
-1
include/git2/repository.h
+1
-1
include/git2/status.h
+1
-1
include/git2/transport.h
+1
-1
No files found.
include/git2/checkout.h
View file @
fac43c54
...
...
@@ -187,7 +187,7 @@ typedef struct git_checkout_opts {
}
git_checkout_opts
;
#define GIT_CHECKOUT_OPTS_VERSION 1
#define GIT_CHECKOUT_OPTS_INIT {GIT_CHECKOUT_OPTS_VERSION
, 0
}
#define GIT_CHECKOUT_OPTS_INIT {GIT_CHECKOUT_OPTS_VERSION}
/**
* Updates files in the index and the working tree to match the content of the
...
...
include/git2/config.h
View file @
fac43c54
...
...
@@ -64,7 +64,7 @@ struct git_config_backend {
void
(
*
free
)(
struct
git_config_backend
*
);
};
#define GIT_CONFIG_BACKEND_VERSION 1
#define GIT_CONFIG_BACKEND_INIT {GIT_CONFIG_BACKEND_VERSION
, 0
}
#define GIT_CONFIG_BACKEND_INIT {GIT_CONFIG_BACKEND_VERSION}
typedef
enum
{
GIT_CVAR_FALSE
=
0
,
...
...
include/git2/diff.h
View file @
fac43c54
...
...
@@ -153,7 +153,7 @@ typedef struct {
}
git_diff_options
;
#define GIT_DIFF_OPTIONS_VERSION 1
#define GIT_DIFF_OPTIONS_INIT {GIT_DIFF_OPTIONS_VERSION
, 0
}
#define GIT_DIFF_OPTIONS_INIT {GIT_DIFF_OPTIONS_VERSION}
/**
* The diff list object that contains all individual file deltas.
...
...
@@ -366,7 +366,7 @@ typedef struct {
}
git_diff_find_options
;
#define GIT_DIFF_FIND_OPTIONS_VERSION 1
#define GIT_DIFF_FIND_OPTIONS_INIT {GIT_DIFF_FIND_OPTIONS_VERSION
, 0
}
#define GIT_DIFF_FIND_OPTIONS_INIT {GIT_DIFF_FIND_OPTIONS_VERSION}
/** @name Diff List Generator Functions
*
...
...
include/git2/odb_backend.h
View file @
fac43c54
...
...
@@ -100,7 +100,7 @@ struct git_odb_backend {
};
#define GIT_ODB_BACKEND_VERSION 1
#define GIT_ODB_BACKEND_INIT {GIT_ODB_BACKEND_VERSION
, 0
}
#define GIT_ODB_BACKEND_INIT {GIT_ODB_BACKEND_VERSION}
/** Streaming mode */
enum
{
...
...
include/git2/remote.h
View file @
fac43c54
...
...
@@ -355,7 +355,7 @@ struct git_remote_callbacks {
};
#define GIT_REMOTE_CALLBACKS_VERSION 1
#define GIT_REMOTE_CALLBACKS_INIT {GIT_REMOTE_CALLBACKS_VERSION
, 0
}
#define GIT_REMOTE_CALLBACKS_INIT {GIT_REMOTE_CALLBACKS_VERSION}
/**
* Set the callbacks for a remote
...
...
include/git2/repository.h
View file @
fac43c54
...
...
@@ -250,7 +250,7 @@ typedef struct {
}
git_repository_init_options
;
#define GIT_REPOSITORY_INIT_OPTIONS_VERSION 1
#define GIT_REPOSITORY_INIT_OPTIONS_INIT {GIT_REPOSITORY_INIT_OPTIONS_VERSION
, 0
}
#define GIT_REPOSITORY_INIT_OPTIONS_INIT {GIT_REPOSITORY_INIT_OPTIONS_VERSION}
/**
* Create a new Git repository in the given folder with extended controls.
...
...
include/git2/status.h
View file @
fac43c54
...
...
@@ -165,7 +165,7 @@ typedef struct {
}
git_status_options
;
#define GIT_STATUS_OPTIONS_VERSION 1
#define GIT_STATUS_OPTIONS_INIT {GIT_STATUS_OPTIONS_VERSION
, 0
}
#define GIT_STATUS_OPTIONS_INIT {GIT_STATUS_OPTIONS_VERSION}
/**
* Gather file status information and run callbacks as requested.
...
...
include/git2/transport.h
View file @
fac43c54
...
...
@@ -142,7 +142,7 @@ typedef struct git_transport {
}
git_transport
;
#define GIT_TRANSPORT_VERSION 1
#define GIT_TRANSPORT_INIT {GIT_TRANSPORT_VERSION
, 0
}
#define GIT_TRANSPORT_INIT {GIT_TRANSPORT_VERSION}
/**
* Function to use to create a transport from a URL. The transport database
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment