Petr Baudis [off-list ref] writes:
$ git-rev-list --help
fatal: Not a git repository
Hmph, true. Ideas?
I agree that the error message itself is bad.
- if (!*name || !*email)
- die("empty ident %s <%s> not allowed",
- name, email);
+ if (!*name)
+ die("empty realname not allowed - please set a realname for your login or use GIT_AUTHOR_NAME");
+ if (!*email)
+ die("empty email not allowed - please set your GIT_AUTHOR_EMAIL to a non-empty value");
I've considered doing this, but didn't do it that way, because I
could not figure out what to do with GIT_COMMITTER_NAME. Also
it might make sense to suggest user.name configuration item in
the error/help message. Ideas?