config: format newlines
Remove unneeded newlines according to `clang-format`. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
186b115d30
commit
4ef97dc4cd
@ -760,7 +760,6 @@ int cmd_config(int argc, const char **argv, const char *prefix)
|
|||||||
given_config_source.scope = CONFIG_SCOPE_COMMAND;
|
given_config_source.scope = CONFIG_SCOPE_COMMAND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (respect_includes_opt == -1)
|
if (respect_includes_opt == -1)
|
||||||
config_options.respect_includes = !given_config_source.file;
|
config_options.respect_includes = !given_config_source.file;
|
||||||
else
|
else
|
||||||
|
2
config.c
2
config.c
@ -95,7 +95,6 @@ static long config_file_ftell(struct config_source *conf)
|
|||||||
return ftell(conf->u.file);
|
return ftell(conf->u.file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int config_buf_fgetc(struct config_source *conf)
|
static int config_buf_fgetc(struct config_source *conf)
|
||||||
{
|
{
|
||||||
if (conf->u.buf.pos < conf->u.buf.len)
|
if (conf->u.buf.pos < conf->u.buf.len)
|
||||||
@ -3418,7 +3417,6 @@ out_free:
|
|||||||
write_err_out:
|
write_err_out:
|
||||||
ret = write_error(get_lock_file_path(&lock));
|
ret = write_error(get_lock_file_path(&lock));
|
||||||
goto out_free;
|
goto out_free;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void git_config_set_multivar_in_file(const char *config_filename,
|
void git_config_set_multivar_in_file(const char *config_filename,
|
||||||
|
Reference in New Issue
Block a user