author | Brandon Casey <casey@nrlssc.navy.mil> | |
Mon, 31 Mar 2008 23:25:23 +0000 (18:25 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 1 Apr 2008 05:43:34 +0000 (22:43 -0700) | ||
commit | ba26ab99d4c6c6a8f939f44cf2f2c47f6fd4f0a1 | |
tree | c26a719dd5185db40ab4e99fa7a2a25c333eeb2f | tree | snapshot |
parent | e0aaf781f656671694a0aa04d8a665bd4d7956e6 | commit | diff |
mktag.c: tweak validation of tagger field and adjust test script
Update the verify_tag() function to remove an unnecessary test, and add
additional check for angle brackets in the name and email field, and
spaces in the email field. The timestamp and timezone sections are made
more straight forward by using strspn().
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Update the verify_tag() function to remove an unnecessary test, and add
additional check for angle brackets in the name and email field, and
spaces in the email field. The timestamp and timezone sections are made
more straight forward by using strspn().
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mktag.c | diff | blob | history | |
t/t3800-mktag.sh | diff | blob | history |