]> Lady’s Gitweb - Gitweb/commit
gitweb: Do not use bareword filehandles
authorJakub Narebski <redacted>
Mon, 11 May 2009 01:21:06 +0000 (03:21 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commit74043e29c6da3430abdef8d5ab279ad96a2000614c0489c39220e3eea82bd699
tree72ab0ca0a2e0dc0f0e361b5a8f3b0d05ab643a25f45e9b02a1b6b5023b5dfbd3
parentcb11a759f179c056d587d03e5d0d0fb2199b317c6761f184a7c1a396d05b225d
gitweb: Do not use bareword filehandles

gitweb: Do not use bareword filehandles

The script was using bareword filehandles.  This is considered a bad
practice so they have been changed to indirect filehandles.

Changes touch git_get_project_ctags and mimetype_guess_file;
while at it rename local variable from $mime to $mimetype (in
mimetype_guess_file) to better reflect its value (its contents).

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.189064 seconds and 4 git commands to generate.