gitweb: Don't die_error in git_tag after already printing headers
commitd8a94803842989582989fd5f5c3062c49134ad5b
authorAnders Kaseorg <andersk@MIT.EDU>
Fri, 27 Aug 2010 17:38:16 +0000 (27 13:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 16:52:48 +0000 (31 09:52 -0700)
tree69a05d2b38d1793a33fdf51ee27943ec14570ef6
parenteec0daf6fd5a31cda601caeaa3a0bfebf2d17fe8
gitweb: Don't die_error in git_tag after already printing headers

This fixes an XML error when visiting a nonexistent tag
(i.e. "../gitweb.cgi?p=git.git;a=tag;h=refs/tags/BADNAME").

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl