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

Re: gitweb calls the project ".git"

From
DSDaniele Segato <daniele.bilug@gmail.com>
Date
Oct 7, 2009, 20:01 UTC
Message-ID
<1254945698.7415.1.camel@localhost>
In-Reply-To
<E66B0797-4EF0-49FC-AA01-8FD4C884A7E9@sics.se>
Il giorno mer, 07/10/2009 alle 18.31 +0200, Lars Rasmusson ha scritto:
Show 12 quoted lines
> Hi, I am serving a repository with "git instaweb".
> 
> In the web browser, the name in the Project column is only ".git", and  
> not the "myrepo.git"
> which I would like to have, and as it is on http://repo.or.cz/ (which  
> is a site that also uses gitweb).
> 
> How do I configure it to serve the project directory (or even better,  
> all the repos in a directory), and name them appropriately?
> 
> (Is it possible to do with instaweb, or can it only be done with a  
> more heavy approach like using apache?)

as for I know by default you should create a simbolic link to your .git directory in /var/cache/git/

the name of the project depends of the name of the symbolic link
example: /var/cache/git/yourproject.git --> /your/project/path/.git/

Bye, Daniele

Previous: Lars Rasmusson
Message 2 of 2 in “gitweb calls the project ".git"”
  1. Lars RasmussonOct 7, 2009
  2. Daniele SegatoOct 7, 2009

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.