summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bec8ff)
raw | patch | inline | side by side (parent: 3bec8ff)
author | Felipe Contreras <felipe.contreras@gmail.com> | |
Sat, 21 Feb 2009 00:48:53 +0000 (02:48 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Feb 2009 04:35:43 +0000 (20:35 -0800) |
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-config.c | patch | blob | history |
diff --git a/builtin-config.c b/builtin-config.c
index 6937eaf379aa060ece1bbbfbb3a830c1a349bfe6..afc4393b17417c7418e20d06ced542418e39031c 100644 (file)
--- a/builtin-config.c
+++ b/builtin-config.c
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;
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;
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);