From: Dmitry Ivankov Date: Tue, 02 Aug 2011 19:50:20 GMT Subject: Re: [PATCH 5/5] fsck: improve committer/author check Message-ID: In-Reply-To: <7vfwljg33p.fsf@alter.siamese.dyndns.org> On Tue, Aug 2, 2011 at 11:00 PM, Junio C Hamano wrote: > Dmitry Ivankov writes: > >> Neither name nor email should contain < or >, so split the string with >> these and check they come in that order and < is preceeded with a space. >> >> If < is missing don't say a confusing "missing space", say "bad name" if >>> isn't missing and "missing email" if both < and > are missing. >> >> Signed-off-by: Dmitry Ivankov >> --- > > Same comment as 3/5; before starting to talk about how you implemented > your validation, please state what rules you are enforcing. Thanks, will apply and reroll. But before this, is it ok to reject "Name> " idents in fsck and fast-import? fsck already denies '<' and '>' inside email, and '<' in name. But accepts '>' in name. It just hit me that Documentation/fast-import.c doesn't deny '>' in name and it is consistent with fsck, so there may be a reason behind it. > > Thanks. >