Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git config: codestyle cleanups
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>
builtin-config.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
3bec8ff
)
diff --git
a/builtin-config.c
b/builtin-config.c
index 6937eaf379aa060ece1bbbfbb3a830c1a349bfe6..afc4393b17417c7418e20d06ced542418e39031c 100644
(file)
--- 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;
}
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;
{
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;
}
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 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;
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);
const char *file = setup_git_directory_gently(&nongit);
config_exclusive_filename = getenv(CONFIG_ENVIRONMENT);