summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d951615)
raw | patch | inline | side by side (parent: d951615)
author | Matt Kraai <kraai@ftbfs.org> | |
Wed, 24 Feb 2010 14:18:25 +0000 (06:18 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 24 Feb 2010 23:34:00 +0000 (15:34 -0800) |
If the user runs
git config --global user.name Your Name
as suggested, user.name will be set to "Your". With this patch, the
suggested command will be
git config --global user.name "Your Name"
which will set user.name to "Your Name" and hopefully help users avoid
the former mistake.
Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git config --global user.name Your Name
as suggested, user.name will be set to "Your". With this patch, the
suggested command will be
git config --global user.name "Your Name"
which will set user.name to "Your Name" and hopefully help users avoid
the former mistake.
Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | patch | blob | history |
diff --git a/builtin-commit.c b/builtin-commit.c
index 55676fd874466c70445e81c69cf397cd01380aaf..46513bf90b9caf95f4c1b0b902dfc69feea38d1f 100644 (file)
--- a/builtin-commit.c
+++ b/builtin-commit.c
"on your username and hostname. Please check that they are accurate.\n"
"You can suppress this message by setting them explicitly:\n"
"\n"
-" git config --global user.name Your Name\n"
+" git config --global user.name \"Your Name\"\n"
" git config --global user.email you@example.com\n"
"\n"
"If the identity used for this commit is wrong, you can fix it with:\n"