Re: [PATCH 1/2] commit: loosen ident checks when generating template

2014-12-11 Thread Eric Sunshine
On Wed, Dec 10, 2014 at 10:42 AM, Jeff King wrote: > Signed-off-by: Jeff King > --- > diff --git a/builtin/commit.c b/builtin/commit.c > index d1c90db..2be5506 100644 > --- a/builtin/commit.c > +++ b/builtin/commit.c > @@ -822,8 +821,14 @@ static int prepare_to_commit(const char *index_file, > c

[PATCH 1/2] commit: loosen ident checks when generating template

2014-12-10 Thread Jeff King
When we generate the commit-message template, we try to report an author or committer ident that will be of interest to the user: an author that does not match the committer, or a committer that was auto-configured. When doing so, if we encounter what we consider to be a bogus ident, we immediatel