fsck: check ident lines in commit objects
commitdaae19224a05be9efb9a39c2a2c1c9a60fe906f1
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 24 Apr 2010 16:06:08 +0000 (24 11:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 May 2010 19:15:06 +0000 (1 12:15 -0700)
tree0c42e685da0c4cddf132ebf0bd829ace28585ea5
parentd599e0484f8ebac8cc50e9557a4c3d246826843d
fsck: check ident lines in commit objects

Check that email addresses do not contain <, >, or newline so they can
be quickly scanned without trouble.  The copy() function in ident.c
already ensures that ordinary git commands will not write email
addresses without this property.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c
t/t1450-fsck.sh