summaryrefslogtreecommitdiff
path: root/upload-pack.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 /upload-pack.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 'upload-pack.c')
-rw-r--r--upload-pack.c2
1 files changed, 1 insertions, 1 deletions
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);
}