Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'oh/fix-config-default-user-name-section'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 6 May 2015 04:00:30 +0000
(21:00 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 May 2015 04:00:31 +0000
(21:00 -0700)
The default $HOME/.gitconfig file created upon "git config --global"
that edits it had incorrectly spelled user.name and user.email
entries in it.
* oh/fix-config-default-user-name-section:
config: fix settings in default_user_config template
builtin/config.c
patch
|
blob
|
history
raw
(from parent 1:
1156097
)
diff --git
a/builtin/config.c
b/builtin/config.c
index d32c5327e53e14a7af72e4ec91efc1b42a414659..bfd3016e83f3fd4e5f4f2ec8f4d6f4c5a24e711f 100644
(file)
--- a/
builtin/config.c
+++ b/
builtin/config.c
@@
-455,9
+455,9
@@
static char *default_user_config(void)
struct strbuf buf = STRBUF_INIT;
strbuf_addf(&buf,
_("# This is Git's per-user configuration file.\n"
- "[
core
]\n"
+ "[
user
]\n"
"# Please adapt and uncomment the following lines:\n"
- "#
user
= %s\n"
+ "#
name
= %s\n"
"# email = %s\n"),
ident_default_name(),
ident_default_email());