X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.c;h=0f073e0b5f9f08510af3a9e0ab5aed106475b30f;hb=d1127622f5e4aa2abf6b492f6e43c0e17c3e0442;hp=c70181cdc621b27ed02aba17b3e4f7ab64518e9f;hpb=32ae5b342545f168b6006bcd8974cc96650d083d;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);