diff options
-rw-r--r-- | remote.c | 2 | ||||
-rw-r--r-- | upload-pack.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -370,7 +370,7 @@ 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_LOCAL || - current_config_scope() == CONFIG_SCOPE_WORKTREE) + current_config_scope() == CONFIG_SCOPE_WORKTREE) remote->configured_in_repo = 1; if (!strcmp(subkey, "mirror")) remote->mirror = git_config_bool(key, value); diff --git a/upload-pack.c b/upload-pack.c index c53249cac1..ac67af8b3f 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -1074,7 +1074,7 @@ static int upload_pack_config(const char *var, const char *value, void *unused) } if (current_config_scope() != CONFIG_SCOPE_LOCAL && - current_config_scope() != CONFIG_SCOPE_WORKTREE) { + current_config_scope() != CONFIG_SCOPE_WORKTREE) { if (!strcmp("uploadpack.packobjectshook", var)) return git_config_string(&pack_objects_hook, var, value); } |