]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config: format newlines
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Thu, 18 Jan 2024 16:12:49 +0000 (17:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jan 2024 20:17:41 +0000 (12:17 -0800)
Remove unneeded newlines according to `clang-format`.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c
config.c

index 11a4d4ef1411222f3750c760b68efd10180148c0..87d0dc92d99464da076bbb8d1d5e85afcd4921ab 100644 (file)
@@ -760,7 +760,6 @@ int cmd_config(int argc, const char **argv, const char *prefix)
                given_config_source.scope = CONFIG_SCOPE_COMMAND;
        }
 
-
        if (respect_includes_opt == -1)
                config_options.respect_includes = !given_config_source.file;
        else
index 9ff6ae1cb903a0690295a7d5bb452ef5f35c12e1..d26e16e3ce3c89993af5f3fb44182ffcc0ef33e0 100644 (file)
--- a/config.c
+++ b/config.c
@@ -95,7 +95,6 @@ static long config_file_ftell(struct config_source *conf)
        return ftell(conf->u.file);
 }
 
-
 static int config_buf_fgetc(struct config_source *conf)
 {
        if (conf->u.buf.pos < conf->u.buf.len)
@@ -3418,7 +3417,6 @@ out_free:
 write_err_out:
        ret = write_error(get_lock_file_path(&lock));
        goto out_free;
-
 }
 
 void git_config_set_multivar_in_file(const char *config_filename,