From: Jakub Narebski Date: Tue, 19 Sep 2006 18:47:27 +0000 (+0200) Subject: gitweb: Fix thinko in git_tags and git_heads X-Git-Tag: v1.4.3-rc1~71 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/62e27f273d66afa996cb7aee6cdb25fbedc053f6?ds=inline;hp=62e27f273d66afa996cb7aee6cdb25fbedc053f6 gitweb: Fix thinko in git_tags and git_heads git_get_refs_list always return reference to list (and reference to hash which we ignore), so $taglist (in git_tags) and $headlist (in git_heads) are always defined, but @$taglist / @$headlist might be empty. Replaced incorrect "if (defined @$taglist)" with "if (@$taglist)" in git_tags and respectively in git_heads. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano ---