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'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 17 Feb 2015 18:15:23 +0000
(10:15 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 17 Feb 2015 18:15:23 +0000
(10:15 -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:
a23069c
)
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 7f467133b88c10e2440c878a0218bee981b3acd7..6055c760f037617637eb7bffebe82213748b5e59 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);
}