threads / discuss / 14290

dumb protocol problems

Subject: dumb protocol problems

## tl;dr

3 messages between Jul 4, 2008 and Jul 4, 2008.

replies: 2people: 2as markdown or json

Michael P. Soulier· Jul 4, 2008, 19:00 UTC · lore

I'm in a situation where sharing via http is my simplest method, although I will migrate to use git-daemon in the near future.

I'm on CentOS 4.6, Apache works fine, the bare repository is viewable and there's a info/refs file like there should be.

msoulier@espresso:~/temp$ cat /var/www/git/cqr.git/info/refs 0a27e2807d8d3c32aa8912d01c939bd1cdd0df68 refs/heads/master

But cloning fails. 
git clone http://espresso.nssg.mitel.com/gitdir/cqr.git
Initialize cqr/.git
Initialized empty Git repository in /usr/home/msoulier/temp/cqr/.git/
Getting alternates list for http://espresso.nssg.mitel.com/gitdir/cqr.git
Getting pack list for http://espresso.nssg.mitel.com/gitdir/cqr.git
Getting index for pack d22362ff6cdd729015f787a7eae057e079fcee39
Getting pack d22362ff6cdd729015f787a7eae057e079fcee39
 which contains 0a27e2807d8d3c32aa8912d01c939bd1cdd0df68
error: packfile
/usr/home/msoulier/temp/cqr/.git/objects/pack/pack-d22362ff6cdd729015f787a7eae057e079fcee39.pack
size changed
fatal: packfile
/usr/home/msoulier/temp/cqr/.git/objects/pack/pack-d22362ff6cdd729015f787a7eae057e079fcee39.pack
cannot be accessed
This is not on NFS, it's an LVM filesystem on a local disk. 
msoulier@espresso:~/temp$ df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       36G   22G   13G  64% /
I'm not sure what the issue could be. 

git --version git version 1.5.6.rc0

I'll start by picking up the latest. 

Thanks, Mike

-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
Michael P. Soulier· Jul 4, 2008, 19:19 UTC · re: Junio C Hamano · lore

Re: dumb protocol problems

On 04/07/08 Junio C Hamano said:
> That snapshot lacks this fix:
> 
> 	6eec46b (fix sha1_pack_index_name(), 2008-05-28)
Confirmed, it works now. 

Thanks, Mike

-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein

← back to recent threads