Code

commit: quote the user name in the example
[git.git] / builtin-commit.c
index 55676fd874466c70445e81c69cf397cd01380aaf..46513bf90b9caf95f4c1b0b902dfc69feea38d1f 100644 (file)
@@ -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"
 "\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"