Skip to contentSkip to conversation

ident.c: Removes geekspeak comment when the user name cannot be determined

PATCH New Santi Béjar 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ident.c: Removes geekspeak comment 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 probably not.

[sb: commit message taken from a Junio's comment]

---
 ident.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
ident.c +1 -1
index b839dcf..4007c5a 100644
@@ -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"
+"*** Your name cannot be determined.\n"
 "\n"
 "Run\n"
 "\n"
Signature · 1 line
1.5.4.3.589.g6816