summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2009-05-07 19:11:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-09 01:35:15 -0700
commit74fd8728e2abd46a6276f6d48bfc6c9f01d74570 (patch)
treea57309997897c223d9b930746b95589bcc91a22d /t
parentStart 1.6.4 development (diff)
downloadtgif-74fd8728e2abd46a6276f6d48bfc6c9f01d74570.tar.xz
gitweb: Remove function prototypes (cleanup)
Use of function prototypes is considered bad practice in Perl. The ones used here didn't accomplish anything anyhow, so they've been removed. >From perlsub(1): [...] the intent of this feature [prototypes] is primarily to let you define subroutines that work like built-in functions [...] you can generate new syntax with it [...] We don't want to have subroutines behaving exactly like built-in functions, we don't want to define new syntax / syntactic sugar, so prototypes in gitweb are not needed... and they can have unintended consequences. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions