summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-02-24 22:10:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-02-24 22:10:38 -0800
commit7070c03d514a5519a3a4c9dbb47932d522dcb4bd (patch)
treee5270015b4a100795164b1659a09ed763fa2b489 /builtin/commit.c
parentMerge branch 'jk/dumb-http-idx-fetch-fix' into maint (diff)
parentcommit: reword --author error message (diff)
downloadtgif-7070c03d514a5519a3a4c9dbb47932d522dcb4bd.tar.xz
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
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 5cd1478ebf..714638c5d6 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -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);
}