Re: [PATCH 2/3] gitweb: Use "previous" header of git-blame -p in 'blame' view

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 10 July 2009, Jakub Narebski wrote:

> +# if filename is surrounded in double quotes, it need to be unquoted
> +sub unquote_maybe {
> +       my $str = shift;
> +
> +       if ($str =~ /^"(.*)"$/) {
> +               return unquote($1);
> +       }
> +       return $str;
> +}

I'm sorry about that, but this is totally unnecessary, as 
unquote == unquote_maybe (unquotes only when necessary).

-- 
Jakub Narebski
Poland
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]