diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-21 13:36:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-21 15:35:47 -0700 |
commit | 9ed104e5cacdc44f2fe7c2b1fdeada94622ca4e9 (patch) | |
tree | 0579d1aeb1d432b547fa1ede3db106b24b7aeaef /t/t1050-large.sh | |
parent | Ninth batch (diff) | |
download | tgif-9ed104e5cacdc44f2fe7c2b1fdeada94622ca4e9.tar.xz |
ident: say whose identity is missing when giving user.name hint
If `user.name` and `user.email` have not been configured and the
user invokes:
git commit --author=...
without specifying the committer identity, then Git errors out with
a message asking the user to configure `user.name` and `user.email`
but doesn't tell the user which attribution was missing. This can be
confusing for a user new to Git who isn't aware of the distinction
between user, author, and committer.
Give such users a bit more help by extending the error message to
also say which attribution is expected.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1050-large.sh')
0 files changed, 0 insertions, 0 deletions