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

Re: only accessing some git repos: Am I configuring daemon wrong?

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 18, 2007, 18:48 UTC
Message-ID
<7vr6inv18i.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<9732aadb0711180518n26c2681aqe7f0a823012c6fe3@mail.gmail.com>
"Henrik Vendelbo" <hvendelbo.dev@googlemail.com> writes:
Show 24 quoted lines
> I run the daemon against a base directory with all my repos.
>
> /repositories
>   + /blingon
>      + /config
>   + /thepia
>      + /config
>
> The config directories are git repositories, and the repos are made
> available with the following command:
>
> henrik-computer:~ x$ git daemon --export-all --verbose --base-path=/repositories
> [337] Connection from 192.168.9.130:56583
> [337] Extended attributes (20 bytes) exist <host=192.168.9.165>
> [337] Request upload-pack for '/blingon/all'
> [337] Disconnected
>
> For some reason when I try to pull over the git protocol to a
> different machine using clone, I get a failure telling me that there
> is 'no matching remote head'
>
> I tried specifying the actual repo directories, but that made no difference.
>
> Any ideas?
Lack of any whitelist on the command line and --export-all?
Do you see "not in whitelist" in your error log?
Previous: Henrik Vendelbo
Message 2 of 2 in “only accessing some git repos: Am I configuring daemon wrong?”
  1. Henrik VendelboNov 18, 2007
  2. Junio C HamanoNov 18, 2007

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.