Jakub Narebski <jnareb@xxxxxxxxx> writes: >> + # If you want a trailing slash on the project path (because, for >> + # example, you have a real directory at that URL and are using >> + # some rewrite magic to invoke gitweb), then set: >> + # $feature{'pathinfo'}{'default'} = [1, 1]; >> + > > Are any disadvantages to having it always enabled? Good question. >> + my @use_pathinfo = gitweb_get_feature('pathinfo'); > > Why not name those variables for better readability? > > + my ($use_pathinfo, $trailing_slash) = gitweb_get_feature('pathinfo'); Good suggestion. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html