From: Felipe Contreras Date: Sat, 21 Feb 2009 00:48:53 +0000 (+0200) Subject: git config: codestyle cleanups X-Git-Tag: v1.6.3-rc0~126^2~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b951b7eb0a4abf7db301bc6dbf8a0cf1b0057d0;p=git.git git config: codestyle cleanups Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/builtin-config.c b/builtin-config.c index 6937eaf37..afc4393b1 100644 --- a/builtin-config.c +++ b/builtin-config.c @@ -27,7 +27,7 @@ static int show_all_config(const char *key_, const char *value_, void *cb) return 0; } -static int show_config(const char* key_, const char* value_, void *cb) +static int show_config(const char *key_, const char *value_, void *cb) { char value[256]; const char *vptr = value; @@ -74,7 +74,7 @@ static int show_config(const char* key_, const char* value_, void *cb) return 0; } -static int get_value(const char* key_, const char* regex_) +static int get_value(const char *key_, const char *regex_) { int ret = -1; char *tl; @@ -284,7 +284,7 @@ static int get_colorbool(int argc, const char **argv) int cmd_config(int argc, const char **argv, const char *prefix) { int nongit; - char* value; + char *value; const char *file = setup_git_directory_gently(&nongit); config_exclusive_filename = getenv(CONFIG_ENVIRONMENT);