Re: [PATCH v5 2/5] gitweb: add project_filter to limit project list to a subdirectory
- From
- Bernhard R. Link <brl+git@mail.brlink.eu>
- Date
- Jan 30, 2012, 20:48 UTC
- Message-ID
- <20120130204831.GA4701@server.brlink.eu>
- In-Reply-To
- <7v39axaq0v.fsf@alter.siamese.dyndns.org>
* Junio C Hamano <gitster@pobox.com> [120130 21:34]:
Show 6 quoted lines
> "Bernhard R. Link" <brl@mail.brlink.eu> writes: > Regarding the first patch in the series, while it may be a valid perl to > introduce a new variable, assign to it and then munge its contents with > s///, all inside a parameter list of a function call, it is doing a bit > too much and makes it hard to see if the variable may or may not later be > used in the same scope (in this case, it is not).
I'm fine either way. I had interpreted <201201301442.06707.jnareb@gmail.com> to be meant this way, but rereading it I am not sure it was meant this way at all. I thought this was to express that those variables are not used outside this scope.
Bernhard R. Link