Skip to content

Commit 7070c03

Browse files
committed
Merge branch 'mg/commit-author-no-match-malformed-message' into maint
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
2 parents 117c1b3 + 1044b1f commit 7070c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ static const char *find_author_by_nickname(const char *name)
10501050
clear_mailmap(&mailmap);
10511051
return strbuf_detach(&buf, NULL);
10521052
}
1053-
die(_("No existing author found with '%s'"), name);
1053+
die(_("--author '%s' is not 'Name <email>' and matches no existing author"), name);
10541054
}
10551055

10561056

0 commit comments

Comments
 (0)