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

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

Previous: John GoerzenNext: John Goerzen
Message 4 of 5 in “git-relink doesn't work on bare repos”
  1. John GoerzenMar 4, 2008
  2. SeanMar 4, 2008
  3. John GoerzenMar 4, 2008
  4. Johannes SchindelinMar 4, 2008
  5. John GoerzenMar 4, 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.