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:
authoryorah <yoram.harmelin@gmail.com>2013-05-30 20:06:54 +0400
committeryorah <yoram.harmelin@gmail.com>2013-05-30 20:06:54 +0400
commitdf50512aebb77f9fab3a930e367fba3777d6ee81 (patch)
tree325da1a222fa96f59a6e7448505f404bd1571e78 /src/clone.c
parent215af2ccb87ac22d94b7205ff97a050622de6897 (diff)
Proposal to handle default value (auto = 0)
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c
index 7ebdb5765..4f763268b 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -422,7 +422,6 @@ static void normalize_options(git_clone_options *dst, const git_clone_options *s
/* Provide defaults for null pointers */
if (!dst->remote_name) dst->remote_name = "origin";
- if (!dst->remote_autotag) dst->remote_autotag = GIT_REMOTE_DOWNLOAD_TAGS_AUTO;
}
int git_clone(