Skip to content

Commit

Permalink
git config: codestyle cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed Feb 22, 2009
1 parent 3bec8ff commit 4b951b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4b951b7

Please sign in to comment.