summaryrefslogtreecommitdiff
path: root/builtin-config.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-02-21 02:48:53 +0200
committerJunio C Hamano <gitster@pobox.com>2009-02-21 20:35:43 -0800
commit4b951b7eb0a4abf7db301bc6dbf8a0cf1b0057d0 (patch)
tree21b317fe6469d51df86bf5b1864919a093f0e4a7 /builtin-config.c
parent3bec8ff99a7792cae67aaeb5892d832478d7f548 (diff)
downloadgit-4b951b7eb0a4abf7db301bc6dbf8a0cf1b0057d0.tar.gz
git config: codestyle cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-config.c')
-rw-r--r--builtin-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin-config.c b/builtin-config.c
index 6937eaf379..afc4393b17 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);