Thread (9 messages) flat view 9 messages, 2 authors, 2016-06-15

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

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:47:03

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help