summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanti Béjar <sbejar@gmail.com>2008-03-08 11:30:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-03-09 03:43:21 (GMT)
commit6c293d408dbbd0206e80df3ecda7f1620cadaa94 (patch)
tree404b18060737ccfb00aa04a8b3dddfd8ededfe4b
parent0bb91d9a6283661c32878f93a601828cac58d2d6 (diff)
downloadgit-6c293d408dbbd0206e80df3ecda7f1620cadaa94.zip
git-6c293d408dbbd0206e80df3ecda7f1620cadaa94.tar.gz
git-6c293d408dbbd0206e80df3ecda7f1620cadaa94.tar.bz2
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>
-rw-r--r--ident.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ident.c b/ident.c
index b839dcf..ed44a53 100644
--- a/ident.c
+++ b/ident.c
@@ -171,7 +171,7 @@ static const char au_env[] = "GIT_AUTHOR_NAME";
static const char co_env[] = "GIT_COMMITTER_NAME";
static const char *env_hint =
"\n"
-"*** Your name cannot be determined from your system services (gecos).\n"
+"*** Please tell me who you are.\n"
"\n"
"Run\n"
"\n"