Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mg/commit-author-no-match-malformed-message' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Feb 2015 06:10:38 +0000
(22:10 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Feb 2015 06:10:38 +0000
(22:10 -0800)
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
builtin/commit.c
patch
|
blob
|
history
raw
(from parent 1:
117c1b3
)
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 5cd1478ebfdae36a8112c7f93f9017b54954cf44..714638c5d625f370ce87f26b55375f874290ed95 100644
(file)
--- 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);
}