Skip to content

gitweb: Some code cleanups, part 2 (low hanging fruit)

Jakub Narebski git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4gitweb: Replace wrongly added tabs with spacesgitweb/gitweb.perl+2 -20 replies
2/4gitweb: Use capturing parentheses only when you intend to capturegitweb/gitweb.perl+1 -10 replies
3/4gitweb: Simplify snapshot format detection logic in evaluate_path_infogitweb/gitweb.perl+4 -31 reply
4/4gitweb: Remove unused $hash_base parameter from normalize_link_targetgitweb/gitweb.perl+2 -50 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchGiuseppe Bilotta
1/4
2/4
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] gitweb: Some code cleanups, part 2 (low hanging fruit)

The following series was inspired by severity: 3 Perl::Critic
(http://perlcritic.com) suggestions for gitweb; the patches listed below are simple and obvious fixes. That is why there is no detailed explanation of perlcritic policy for each patch.

This time I have checked that t9500 passes...
---
Jakub Narebski (4):
gitweb: Remove unused $hash_base parameter from normalize_link_target
gitweb: Simplify snapshot format detection logic in evaluate_path_info
gitweb: Use capturing parentheses only when you intend to capture
gitweb: Replace wrongly added tabs with spaces

 gitweb/gitweb.perl |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)
Signature · 3 lines
Jakub Narebski
ShadeHawk on #git
Poland