Skip to contentSkip to conversation

dumb protocol problems

DISCUSSION Michael P. Soulier 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
Michael P. Soulier <[email protected]>
"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
#1 lore raw
Quoted 2 lines · Michael P. Soulier

git --version
git version 1.5.6.rc0

That snapshot lacks this fix:

	6eec46b (fix sha1_pack_index_name(), 2008-05-28)
#2 lore raw
Quoted 3 lines · 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

Signature · 4 lines
Michael P. Soulier <[email protected]>
"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