Merge branch 'mg/commit-author-no-match-malformed-message' into maint
[git/git.git] / builtin / commit.c
index 5cd1478..714638c 100644 (file)
@@ -1050,7 +1050,7 @@ static const char *find_author_by_nickname(const char *name)
                clear_mailmap(&mailmap);
                return strbuf_detach(&buf, NULL);
        }
-       die(_("No existing author found with '%s'"), name);
+       die(_("--author '%s' is not 'Name <email>' and matches no existing author"), name);
 }