path: root/builtin-commit.c
diff options
authorMatt Kraai <>2010-02-24 14:18:25 (GMT)
committerJunio C Hamano <>2010-02-24 23:34:00 (GMT)
commit8bb45b25b2230c84724f6f62bfcc04a79999a90c (patch)
treedb26a10491eeb26c50ff011ab393fe3eeb9feca4 /builtin-commit.c
parentd951615daa9de25687fc4af34a224f62f8d414e5 (diff)
commit: quote the user name in the example
If the user runs git config --global Your Name as suggested, will be set to "Your". With this patch, the suggested command will be git config --global "Your Name" which will set to "Your Name" and hopefully help users avoid the former mistake. Signed-off-by: Matt Kraai <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'builtin-commit.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit.c b/builtin-commit.c
index 55676fd..46513bf 100644
--- a/builtin-commit.c
+++ b/builtin-commit.c
@@ -41,7 +41,7 @@ static const char implicit_ident_advice[] =
"on your username and hostname. Please check that they are accurate.\n"
"You can suppress this message by setting them explicitly:\n"
-" git config --global Your Name\n"
+" git config --global \"Your Name\"\n"
" git config --global\n"
"If the identity used for this commit is wrong, you can fix it with:\n"