Re: [PATCH 2/n] gitweb: Use '&iquot;' instead of '?' in esc_path
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 7, 2006, 00:02 UTC
- Message-ID
- <200611070102.15662.jnareb@gmail.com>
- In-Reply-To
- <7vwt68b0f3.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 16 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes: > >> Junio C Hamano wrote: >> >>> Jakub Narebski <jnareb@gmail.com> writes: >>> >>>> Here is example code for this: >>> >>> Ok. The issues I raised in the previous round seem to have been >>> addressed. Maybe you would want not to use nested 'sub' and it >>> is good to go, I think. >> >> Nested sub makes it easy to change gitweb quoting from Character Escape >> Codes (CEC) to e.g. Unicode Printable Representation (PR). > > Yes, sub makes it easy, it is not needed to be nested.
Well, this sub is of no use (I think) ourside esc_path subroutine. Similarly for unq sub nested in unescape in PATCH 1/10.
-- Jakub Narebski