@matheusbsbs / matheus-bagliano / commits / 4b951b7eb0
Fork 0

git config: codestyle cleanups

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Felipe Contreras committed Feb 21, 2009 at 02:48 UTC 4b951b7eb0a4abf7db301bc6dbf8a0cf1b0057d0
1 file changed +3 -3
builtin-config.c
+3 -3
@@ -27,7 +27,7 @@ static int show_all_config(const char *key_, const char *value_, void *cb)
27 return 0;
28 }
29
30 -static int show_config(const char* key_, const char* value_, void *cb)
30 +static int show_config(const char *key_, const char *value_, void *cb)
31 {
32 char value[256];
33 const char *vptr = value;
@@ -74,7 +74,7 @@ static int show_config(const char* key_, const char* value_, void *cb)
74 return 0;
75 }
76
77 -static int get_value(const char* key_, const char* regex_)
77 +static int get_value(const char *key_, const char *regex_)
78 {
79 int ret = -1;
80 char *tl;
@@ -284,7 +284,7 @@ static int get_colorbool(int argc, const char **argv)
284 int cmd_config(int argc, const char **argv, const char *prefix)
285 {
286 int nongit;
287 - char* value;
287 + char *value;
288 const char *file = setup_git_directory_gently(&nongit);
289
290 config_exclusive_filename = getenv(CONFIG_ENVIRONMENT);