Skip to content

Commit

Permalink
Merge branch 'mg/commit-author-no-match-malformed-message' into maint
Browse files Browse the repository at this point in the history
The error message from "git commit", when a non-existing author
name was given as value to the "--author=" parameter, has been
reworded to avoid misunderstanding.

* mg/commit-author-no-match-malformed-message:
  commit: reword --author error message
  • Loading branch information
Junio C Hamano committed Feb 25, 2015
2 parents 117c1b3 + 1044b1f commit 7070c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 7070c03

Please sign in to comment.