]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config: minor addition of whitespace
authorDragan Simic <dsimic@manjaro.org>
Thu, 21 Mar 2024 06:06:05 +0000 (07:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2024 22:57:09 +0000 (15:57 -0700)
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>
config.c

index 3846a37be971c92153eb1ceeb65c6e612c8e173c..e6741df5bfc8e1c4a95267d5261ff3c81254acfb 100644 (file)
--- 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);