Re: [RFC] gitweb: Add committags support (take 2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Monday, December 4, 2006 - 3:53 am

Jakub Narebski <jnareb@gmail.com> writes:


It is one thing if you tend to randomly throw garbage at this
function and use it to check for object's existence, but I hope
you are already checking the user input (which is what $hash is,
I think, here), and the object is supposed to exist in the
repository you are looking at.  In such a case, I think you and
your server administrator have right to know about that
situation; I do not see why you would want to squelch it.


I think you are talking about a gitweb-instance wide
customization, but that's not what I meant.  I meant per-project
configuration where w/git-gui.git and w/git.git are served by
the same instance of gitweb but have pointers to different issue
trackers.


I wouldn't know if constantly splitting and then concatenating
is faster than just concatenatting once before output without
benchmarking, so I'd refrain from talking about performance.
Two string case may be a valid concern, though.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] gitweb: Add committags support (take 2), Jakub Narebski, (Sun Dec 3, 4:01 pm)
Re: [RFC] gitweb: Add committags support (take 2), Junio C Hamano, (Sun Dec 3, 7:38 pm)
Re: [RFC] gitweb: Add committags support (take 2), Jakub Narebski, (Mon Dec 4, 3:33 am)
Re: [RFC] gitweb: Add committags support (take 2), Junio C Hamano, (Mon Dec 4, 3:53 am)
Re: [RFC] gitweb: Add committags support (take 2), Jakub Narebski, (Mon Dec 4, 4:33 am)
Re: [RFC] gitweb: Add committags support (take 2), Jakub Narebski, (Wed Dec 6, 5:51 am)
Re: [RFC] gitweb: Add committags support (take 2), Junio C Hamano, (Wed Dec 6, 12:11 pm)
Re: [RFC] gitweb: Add committags support (take 2), Jakub Narebski, (Wed Dec 6, 12:32 pm)
Re: [RFC] gitweb: Add committags support (take 2), Junio C Hamano, (Wed Dec 6, 12:47 pm)
Re: [RFC] gitweb: Add committags support (take 2), Jakub Narebski, (Wed Dec 6, 1:35 pm)