# Oddities cloning over http

3 messages from 2007-04-10 to 2007-04-10. Participants: Martin Langhoff, Medve Emilian-EMMEDVE1.
Thread: https://gitlist.dev/t/7595

## Martin Langhoff, 2007-04-10 12:40

Subject: Oddities cloning over http
Message-ID: <46a038f90704100540y33c64a9au762fd927fb906f3d@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90704100540y33c64a9au762fd927fb906f3d%40mail.gmail.com

```
Cloning over http this repo, using git v1.5.0.5 and v1.5.1.106.ga32037

  http://git.catalyst.net.nz/git/moodle-r2.git

The clone doesn't complete successfully.

 - I don't get a checkout
 - It never creates .git/branches/origin
 - It never creates .git/refs/heads/master

OTOH, it does fetch all the packfiles, and creates all the refs for
the remote branches under .git/refs/remotes/origin/

hmmm...? I did run git-update-server-info on the server...


martin

```

## Medve Emilian-EMMEDVE1, 2007-04-10 13:12

Subject: RE: Oddities cloning over http
Message-ID: <598D5675D34BE349929AF5EDE9B03E27E536AE@az33exm24.fsl.freescale.net>
URL: https://gitlist.dev/e/598D5675D34BE349929AF5EDE9B03E27E536AE%40az33exm24.fsl.freescale.net
In-Reply-To: <46a038f90704100540y33c64a9au762fd927fb906f3d@mail.gmail.com>

```
Hi Martin,


I've seen this behavior when the server repo files don't have the same
owner/group as the one you're running the server with. That happened to
me after I edited the config files.


Cheers,
Emil.


-----Original Message-----
From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On
Behalf Of Martin Langhoff
Sent: Tuesday, April 10, 2007 7:41 AM
To: Git Mailing List
Subject: Oddities cloning over http

Cloning over http this repo, using git v1.5.0.5 and v1.5.1.106.ga32037

  http://git.catalyst.net.nz/git/moodle-r2.git

The clone doesn't complete successfully.

 - I don't get a checkout
 - It never creates .git/branches/origin
 - It never creates .git/refs/heads/master

OTOH, it does fetch all the packfiles, and creates all the refs for
the remote branches under .git/refs/remotes/origin/

hmmm...? I did run git-update-server-info on the server...


martin

```

## Martin Langhoff, 2007-04-10 23:28

Subject: Re: Oddities cloning over http
Message-ID: <46a038f90704101628o12d966e6je6e5cfd5a5ee576d@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90704101628o12d966e6je6e5cfd5a5ee576d%40mail.gmail.com
In-Reply-To: <598D5675D34BE349929AF5EDE9B03E27E536AE@az33exm24.fsl.freescale.net>

```
On 4/11/07, Medve Emilian-EMMEDVE1 <Emilian.Medve@freescale.com> wrote:
> I've seen this behavior when the server repo files don't have the same
> owner/group as the one you're running the server with. That happened to
> me after I edited the config files.

Ok - at least in my case, this seems to be related to problems
fetching HEAD on the server, probably because apache doesn't allow
symlinks. What I don't quite follow is where is the best place to
check for this. The logic is a bit muddy.

cheers,


martin

```
