Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-28 02:13:03 +0400
committerBen Straub <bs@github.com>2012-11-28 02:13:03 +0400
commitf4a62c306d5e313fe80815369be47318ea29575b (patch)
treee1c524bc577dacb9ea8d4e9cb49a9497ca15cb51 /src/remote.h
parent1d8ec670be6252ae5af6ded5edd6017434de3ab2 (diff)
Typedef enums.
Diffstat (limited to 'src/remote.h')
-rw-r--r--src/remote.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/remote.h b/src/remote.h
index 840c9a905..448a9e9a9 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -27,10 +27,10 @@ struct git_remote {
git_repository *repo;
git_remote_callbacks callbacks;
git_transfer_progress stats;
- unsigned int need_pack:1,
- download_tags:2, /* There are four possible values */
- check_cert:1,
- update_fetchhead:1;
+ unsigned int need_pack;
+ git_remote_autotag_option_t download_tags;
+ unsigned int check_cert;
+ unsigned int update_fetchhead;
};
const char* git_remote__urlfordirection(struct git_remote *remote, int direction);