ident.c: reword error message when the user name cannot be determined
The "config --global" suggested in the message is a valid one-shot fix, and hopefully one-shot across machines that NFS mounts the home directories. This knowledge can hopefully be reused when you are forced to use git on Windows, but the fix based on GECOS would not be applicable, so it is not such a useful hint to mention the exact reason why the name cannot be determined. Signed-off-by: Santi Béjar <sbejar@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Santi Béjar committed
Mar 8, 2008 at 12:30 UTC
6c293d408dbbd0206e80df3ecda7f1620cadaa94
1 file changed
+1
-1
ident.c
+1
-1
@@ -171,7 +171,7 @@ static const char au_env[] = "GIT_AUTHOR_NAME";
171
static const char co_env[] = "GIT_COMMITTER_NAME";
172
static const char *env_hint =
173
"\n"
174
-"*** Your name cannot be determined from your system services (gecos).\n"
174
+"*** Please tell me who you are.\n"
175
"\n"
176
"Run\n"
177
"\n"