summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-02-25 13:16:13 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-02-25 13:17:58 +0000
commit2dd5a429416c5971013262e2b507da7e866aedcd (patch)
treef34dc12e74f783217da9b9f9becbb953ed2fd0bc /include/git2/remote.h
parent68729289213bf211ebd0c1b5f8a39648629a8693 (diff)
downloadlibgit2-2dd5a429416c5971013262e2b507da7e866aedcd.tar.gz
remote: Rename git_remote_completion_type to _tethomson/remote_completion
For consistency with other "type" enums, rename git_remote_completion_type to git_remote_completion_t.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 1d57dcd78..5a82558d2 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -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_type {
+typedef enum git_remote_completion_t {
GIT_REMOTE_COMPLETION_DOWNLOAD,
GIT_REMOTE_COMPLETION_INDEXING,
GIT_REMOTE_COMPLETION_ERROR,
-} git_remote_completion_type;
+} 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_type type, void *data);
+ int GIT_CALLBACK(completion)(git_remote_completion_t type, void *data);
/**
* This will be called if the remote host requires