X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-config.c;h=91fdc4985d8e64fae12209174dd4aa2d887793e5;hb=18e143487ddb5b32b2f6003972d2115bb4ac460f;hp=39f63d7b10f93a0a021d8b9af9fdec46ed0333f6;hpb=fcab40a389e99786a8276108cdbc1cda8caf502f;p=git.git diff --git a/builtin-config.c b/builtin-config.c index 39f63d7b1..91fdc4985 100644 --- a/builtin-config.c +++ b/builtin-config.c @@ -3,7 +3,7 @@ #include "color.h" static const char git_config_set_usage[] = -"git-config [ --global | --system | [ -f | --file ] config-file ] [ --bool | --int | --bool-or-int ] [ -z | --null ] [--get | --get-all | --get-regexp | --replace-all | --add | --unset | --unset-all] name [value [value_regex]] | --rename-section old_name new_name | --remove-section name | --list | --get-color var [default] | --get-colorbool name [stdout-is-tty]"; +"git config [ --global | --system | [ -f | --file ] config-file ] [ --bool | --int | --bool-or-int ] [ -z | --null ] [--get | --get-all | --get-regexp | --replace-all | --add | --unset | --unset-all] name [value [value_regex]] | --rename-section old_name new_name | --remove-section name | --list | --get-color var [default] | --get-colorbool name [stdout-is-tty]"; static char *key; static regex_t *key_regexp; @@ -145,7 +145,7 @@ free_strings: return ret; } -char *normalize_value(const char *key, const char *value) +static char *normalize_value(const char *key, const char *value) { char *normalized;