git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: Make use of the $git_dir variable at sub git_get_project_url_list

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 8, 2008, 09:15 UTC
Message-ID
<200802081015.39707.jnareb@gmail.com>
In-Reply-To
<7vbq6sm0j3.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 13 quoted lines
> Bruno Cesar Ribas <ribas@c3sl.ufpr.br> writes:
>> On Wed, Feb 06, 2008 at 11:37:51AM -0800, Jakub Narebski wrote:
>>> Bruno Ribas <ribas@c3sl.ufpr.br> writes:
>>>
>>><snip> 
>>>
>>> Good catch (although it wasn't actually a bug).
>>
>> Not a bug but makes the code cleaner =)
> 
> I think I saw very similar 's|projectroot/$path|$git_dir|' patch
> recently.  If there are more of the same, I'd rather see all of
> them in a single patch.

That's all that it is. Those patches are about places where we read file inside repo or get repo config, and there are only two places now: description and cloneurl/URL list.

-- 
Jakub Narebski
Poland
Previous: Junio C HamanoNext: Bruno Cesar Ribas
Message 5 of 6 in “gitweb: Make use of the $git_dir variable at sub git_get_project_url_list”
  1. gitweb: Make use of the $git_dir variable at sub git_get_project_url_listBruno Ribas, Feb 6, 2008
  2. Jakub NarebskiFeb 6, 2008
  3. Bruno Cesar RibasFeb 8, 2008
  4. Junio C HamanoFeb 8, 2008
  5. Jakub NarebskiFeb 8, 2008
  6. Bruno Cesar RibasFeb 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.