X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.c;h=0f073e0b5f9f08510af3a9e0ab5aed106475b30f;hb=b5a4de9d506030fce1b70a06dc49090a46877c3f;hp=c70181cdc621b27ed02aba17b3e4f7ab64518e9f;hpb=b10b9184afc9e62140d307dcf2f5d7e625f78c79;p=git.git diff --git a/remote.c b/remote.c index c70181cdc..0f073e0b5 100644 --- a/remote.c +++ b/remote.c @@ -443,6 +443,8 @@ static int handle_config(const char *key, const char *value, void *cb) } else if (!strcmp(subkey, ".tagopt")) { if (!strcmp(value, "--no-tags")) remote->fetch_tags = -1; + else if (!strcmp(value, "--tags")) + remote->fetch_tags = 2; } else if (!strcmp(subkey, ".proxy")) { return git_config_string((const char **)&remote->http_proxy, key, value);