t7502: narrow checks for author/committer name in template
authorJeff King <peff@peff.net>
Thu, 26 Jul 2012 20:30:29 +0000 (16:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Jul 2012 21:23:35 +0000 (14:23 -0700)
commit1f4bf34578e93e8f5fa06652695e839bc51ea90f
tree3135eddfb1ab064f593a9189513eac4a29e6cbd9
parent34565f27fef10546a62c734c55c0d280aad63460
t7502: narrow checks for author/committer name in template

t7502.20 and t7502.21 check that the author and committer
name are mentioned in the commit message template under
certain circumstances. However, they end up checking a much
larger and unnecessary portion of the template. Let's narrow
their checks to the specific lines.

While we're at it, let's give these tests more descriptive
names, so their purposes are more obvious.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7502-commit.sh