Re: git-relink doesn't work on bare repos
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 4, 2008, 15:03 UTC
- Message-ID
- <alpine.LSU.1.00.0803041501500.22527@racer.site>
- In-Reply-To
- <200803040834.14099.jgoerzen@complete.org>
Hi,
On Tue, 4 Mar 2008, John Goerzen wrote:
Show 8 quoted lines
> On Tue March 4 2008 1:09:59 am Sean wrote: > > > repos follow the general naming convention of ending in .git relink > > will work. That is, if your bare repos are named repo.git rather than > > just repo. > > I never do that because I think it's silly to have to type .git > everytime ;-)
Well, it is a convention, and if you choose not to follow it, that's what you get.
> If I give people a git:// url, they already know it's a Git repo, I > figure.
So you must use "--git-dir" _everytime_ you are working with Git inside the repo.
It's not like relink has to be performed several times per hour.
Ciao, Dscho