aboutsummaryrefslogtreecommitdiffstats
path: root/remote.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-12-03 03:00:18 -0500
committerJunio C Hamano <gitster@pobox.com>2020-12-03 10:32:32 -0800
commit08e9df2395b1116ffe932eaedbc3c89676902362 (patch)
tree8cc8aec806b43e4f5d0cdfb8991f5b4d67cf1a34 /remote.c
parent145d59f48233c64cb8a9262c9f1451cc7d66b530 (diff)
downloadgit-08e9df2395b1116ffe932eaedbc3c89676902362.tar.gz
style: indent multiline "if" conditions to align
Commit 6dc905d974 (config: split repo scope to local and worktree, 2020-02-10) made some "if" statements multiline, but didn't indent the second lines in our usual way. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 593ce297ed..76838ed4d4 100644
--- a/remote.c
+++ b/remote.c
@@ -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);