author | Jakub Narebski <jnareb@gmail.com> | |
Mon, 11 May 2009 01:21:06 +0000 (03:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 May 2009 04:18:38 +0000 (21:18 -0700) | ||
commit | ad87e4f6f19e78b3f2d7dde3d3ed403db4f79a03 | |
tree | b629e284aeaee61a83a640e1b20aba132606020e | tree | snapshot |
parent | 6345d7a0d151afc3d2a10ada3ecacf54c3fee2d0 | commit | diff |
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |