ident.c: Disambiguate the error messages in setup_ident
PATCH 2/6 ident.c: Disambiguate the error messages in setup_ident
If your user name is too long it is your sysadmin who hates you not your parents!
---
ident.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
935f88376b79fc19df6dff85ba57ed94f06d79f0
ident.c +2 -2
@@ -26,13 +26,13 @@ int setup_ident(void)/* Get the name ("gecos") */ len =strlen (pw->pw_gecos);if (len >=sizeof (real_name)) -die ("Your parents must have hated you" ); +die ("Your parents must have hated you!" );memcpy (real_name, pw->pw_gecos, len+1 );/* Make up a fake email address (name + '@' + hostname [+ '.' + domainname]) */ len =strlen (pw->pw_name);if (len >sizeof (real_email)/2 ) -die ("Your parents must have hated you" ); +die ("Your sysadmin must have hate you!" );memcpy (real_email, pw->pw_name, len); real_email[len++] ='@' ;gethostname (real_email + len,sizeof (real_email) - len);
PATCH 1/1 Complain about sysadmins in the present tense.
In reply to a message not in the archiveQuoted 9 lines · Junio C Hamano
Quoted 4 lines · [email protected] (Eric W. Biederman) writes:
Actually I could not see something the system administrator had bone being anything but present tense. If you have to type 500+ characters just to login, I think you would have noticed and complained to your sysadmin earlier...
I think "must have hate you" is simply an incorrect grammar, not present tense. You mean "must hate you", perhaps?
Yes. It looks like I failed to delete the have :( Somethings you just can't see when you know what you meant.
Here is a patch to fix it up.
Eric
---
Documentation/git-commit-tree.txt | 2 +- Documentation/git-var.txt | 2 +- ident.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
554595e307653e90e5945bcef739fde935d7bcef
Documentation/git-commit-tree.txt +1 -1
@@ -70,7 +70,7 @@ You don't exist. Go away!:: The passwd(5) gecos field couldn't be read Your parents must have hated you!:: The password(5) gecos field is longer than a giant static buffer. -Your sysadmin must have hate you!:: +Your sysadmin must hate you!:: The password(5) name field is longer than a giant static buffer. See Also
Documentation/git-var.txt +1 -1
@@ -38,7 +38,7 @@ You don't exist. Go away!:: The passwd(5) gecos field couldn't be read Your parents must have hated you!:: The password(5) gecos field is longer than a giant static buffer. -Your sysadmin must have hate you!:: +Your sysadmin must hate you!:: The password(5) name field is longer than a giant static buffer. See Also
ident.c +1 -1
@@ -32,7 +32,7 @@ int setup_ident(void)/* Make up a fake email address (name + '@' + hostname [+ '.' + domainname]) */ len =strlen (pw->pw_name);if (len >sizeof (real_email)/2 ) -die ("Your sysadmin must have hate you!" ); +die ("Your sysadmin must hate you!" );memcpy (real_email, pw->pw_name, len); real_email[len++] ='@' ;gethostname (real_email + len,sizeof (real_email) - len);