git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitweb calls the project ".git"
@ 2009-10-07 16:31 Lars Rasmusson
  2009-10-07 20:01 ` Daniele Segato
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Rasmusson @ 2009-10-07 16:31 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

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?)

Thanks for any quick ideas, cheers,
/Lars




[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2427 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gitweb calls the project ".git"
  2009-10-07 16:31 gitweb calls the project ".git" Lars Rasmusson
@ 2009-10-07 20:01 ` Daniele Segato
  0 siblings, 0 replies; 2+ messages in thread
From: Daniele Segato @ 2009-10-07 20:01 UTC (permalink / raw)
  To: Lars Rasmusson; +Cc: git

Il giorno mer, 07/10/2009 alle 18.31 +0200, Lars Rasmusson ha scritto:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-07 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 16:31 gitweb calls the project ".git" Lars Rasmusson
2009-10-07 20:01 ` Daniele Segato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).