]> git.ipfire.org Git - thirdparty/git.git/blobdiff - remote.c
l10n: tr: Fix a couple of ambiguities
[thirdparty/git.git] / remote.c
index 5c4666b53abc0c84fa863c172387fa6c2cc159d5..593ce297ed2ad41e150a077b67623e12ceaa3d25 100644 (file)
--- a/remote.c
+++ b/remote.c
@@ -369,7 +369,8 @@ static int handle_config(const char *key, const char *value, void *cb)
        }
        remote = make_remote(name, namelen);
        remote->origin = REMOTE_CONFIG;
-       if (current_config_scope() == CONFIG_SCOPE_REPO)
+       if (current_config_scope() == CONFIG_SCOPE_LOCAL ||
+       current_config_scope() == CONFIG_SCOPE_WORKTREE)
                remote->configured_in_repo = 1;
        if (!strcmp(subkey, "mirror"))
                remote->mirror = git_config_bool(key, value);