threads / discuss / 10916

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

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

## tl;dr

2 messages between Nov 18, 2007 and Nov 18, 2007.

replies: 1people: 2as markdown or json

Henrik Vendelbo· Nov 18, 2007, 13:18 UTC · lore
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?
Henrik
Junio C Hamano· Nov 18, 2007, 18:48 UTC · re: Henrik Vendelbo · lore

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

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

← back to recent threads