aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDragan Simic <dsimic@manjaro.org>2024-03-21 07:06:05 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-21 15:57:09 -0700
commit0d49b1e5a8c789dd3f1029f382bd76a464b72da0 (patch)
tree2cd97a2bd3dcde5cd955f2f8120739ea88eb9857
parent61a22ddaf0626111193a17ac12f366bd6d167dff (diff)
downloadgit-0d49b1e5a8c789dd3f1029f382bd76a464b72da0.tar.gz
config: minor addition of whitespace
In general, binary operators should be enclosed in a pair of leading and trailing space (SP) characters. Thus, clean up one spotted expression that for some reason had a "bunched up" operator. Signed-off-by: Dragan Simic <dsimic@manjaro.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 3846a37be9..e6741df5bf 100644
--- a/config.c
+++ b/config.c
@@ -871,7 +871,7 @@ static char *parse_value(struct config_source *cs)
continue;
}
if (c == '"') {
- quote = 1-quote;
+ quote = 1 - quote;
continue;
}
strbuf_addch(&cs->value, c);