ident: reword empty ident error message

There's on point in printing the name, since it is by definition the empty string if we have reached this code path. Instead, let's be more clear that we are complaining about the empty name, but still show the email address that it is attached to (since that may provide some context to the user). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed May 24, 2012 at 19:26 UTC b00f6cfcd7232d90c4625c42eb9694d4ed2dc615
1 file changed +1 -1
ident.c
+1 -1
@@ -281,7 +281,7 @@ const char *fmt_ident(const char *name, const char *email,
281 if (error_on_no_name) {
282 if (name == git_default_name.buf)
283 fputs(env_hint, stderr);
284 - die("empty ident %s <%s> not allowed", name, email);
284 + die("empty ident name (for <%s>) not allowed", email);
285 }
286 pw = xgetpwuid_self();
287 name = pw->pw_name;