\n usage in stderr output
fprintf and die sometimes have missing/excessive "\n" in their arguments, correct the strings where I think it would be appropriate. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
f4a11066cf
commit
7246ed438c
2
config.c
2
config.c
@ -487,7 +487,7 @@ int git_config_set_multivar(const char* key, const char* value,
|
||||
store.value_regex = (regex_t*)malloc(sizeof(regex_t));
|
||||
if (regcomp(store.value_regex, value_regex,
|
||||
REG_EXTENDED)) {
|
||||
fprintf(stderr, "Invalid pattern: %s",
|
||||
fprintf(stderr, "Invalid pattern: %s\n",
|
||||
value_regex);
|
||||
free(store.value_regex);
|
||||
return 6;
|
||||
|
Reference in New Issue
Block a user