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
79b26f20
Unverified
Commit
79b26f20
authored
6 years ago
by
Edward Thomson
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5008 from libgit2/ethomson/remote_completion
remote: Rename git_remote_completion_type to _t
parents
7b083d3c
2dd5a429
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/git2/deprecated.h
+3
-0
include/git2/remote.h
+3
-3
No files found.
include/git2/deprecated.h
View file @
79b26f20
...
...
@@ -281,6 +281,9 @@ typedef git_indexer_progress_cb git_transfer_progress_cb;
*/
typedef
git_push_transfer_progress_cb
git_push_transfer_progress
;
/** The type of a remote completion event */
#define git_remote_completion_type git_remote_completion_t
/**@}*/
/** @} */
...
...
This diff is collapsed.
Click to expand it.
include/git2/remote.h
View file @
79b26f20
...
...
@@ -415,11 +415,11 @@ GIT_EXTERN(int) git_remote_list(git_strarray *out, git_repository *repo);
* Argument to the completion callback which tells it which operation
* finished.
*/
typedef
enum
git_remote_completion_t
ype
{
typedef
enum
git_remote_completion_t
{
GIT_REMOTE_COMPLETION_DOWNLOAD
,
GIT_REMOTE_COMPLETION_INDEXING
,
GIT_REMOTE_COMPLETION_ERROR
,
}
git_remote_completion_t
ype
;
}
git_remote_completion_t
;
/** Push network progress notification function */
typedef
int
GIT_CALLBACK
(
git_push_transfer_progress_cb
)(
...
...
@@ -493,7 +493,7 @@ struct git_remote_callbacks {
* Completion is called when different parts of the download
* process are done (currently unused).
*/
int
GIT_CALLBACK
(
completion
)(
git_remote_completion_t
ype
type
,
void
*
data
);
int
GIT_CALLBACK
(
completion
)(
git_remote_completion_t
type
,
void
*
data
);
/**
* This will be called if the remote host requires
...
...
This diff is collapsed.
Click to expand it.
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