threads / discuss / 7595

Oddities cloning over http

Subject: Oddities cloning over http

## tl;dr

3 messages between Apr 10, 2007 and Apr 10, 2007.

replies: 2people: 2as markdown or json

Martin Langhoff· Apr 10, 2007, 12:40 UTC · lore
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· Apr 10, 2007, 13:12 UTC · re: Martin Langhoff · lore

RE: Oddities cloning over http

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· Apr 10, 2007, 23:28 UTC · re: Medve Emilian-EMMEDVE1 · lore

Re: Oddities cloning over http

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

← back to recent threads