Re: [PATCH v5 2/5] gitweb: add project_filter to limit project list to a subdirectory From: Junio C Hamano <hidden> Date: 2016-06-15 22:52:53 Jakub Narebski [off-list ref] writes: quoted- my @list = git_get_projects_list((my $filter = $project) =~ s/\.git$//); + my ($filter = $project) =~ s/\.git$//; This doesn't work: it is syntax error: Can't declare scalar assignment in "my" It has to be either + (my $filter = $project) =~ s/\.git$//; Sorry, that is what I meant.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help