Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [RFC][PATCH] gitweb: Make the Git logo link target to point to the homepage

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:41

Possibly related (same subject, not in this thread)

Jakub Narebski [off-list ref] writes:
Junio C Hamano wrote:
quoted
-             "<a href=\"http://www.kernel.org/pub/software/scm/git/docs/\" title=\"git documentation\">" .
+             "<a href=\"" . esc_html($githelp_url) .
+             "\" title=\"" . esc_html($githelp_label) .
+             "\">" .
Why not use $cgi->a_begin({-href=>esc_param($githelp_url), -title=>$githelp_label});
or just plain $cgi->a and $cgi->img?
Be my guest and send in a proper patch please.

I was merely demonstrating my preference on how definition of
default values and actual use of them are separated.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help