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

Re: git-relink doesn't work on bare repos

From
Sean <seanlkml@sympatico.ca>
Date
Mar 4, 2008, 07:09 UTC
Message-ID
<BAYC1-PASMTP07875E628BE4BA7D43175FAE100@CEZ.ICE>
In-Reply-To
<slrnfsp5vi.sa5.jgoerzen@katherina.lan.complete.org>

On Mon, 3 Mar 2008 18:29:38 -0600 John Goerzen <jgoerzen@complete.org> wrote:

Show 8 quoted lines
> If I try to point git-relink at a bare repo, I get:
> 
> Usage: /usr/bin/git-relink [--safe] <dir> [<dir> ...] <master_dir>
> All directories should contain a .git/objects/ subdirectory.
> 
> In my case, both master_dir and the CWD are bare repos.
> 
> This is 1.5.4.2
Hi John,

It should probably fixed to work as you would expect. But if your bare 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.

HTH, Sean

Previous: John GoerzenNext: John Goerzen
Message 2 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.