git-clone error with mobin.org/repos while using rsync server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moblin (other) |
Fix Committed
|
Undecided
|
Dennis.Yxun |
Bug Description
i've been trying so hard to clone down the moblin git tree (kernel-mid-2.6.24, and others)
but with no luck, the clone process was always been interrupted.
I was first use http method, this was easily fail due to my poor network.
So, i switch to sync protocol, still the same.
here is my command and error output:
git clone rsync:/
fd/39afd92a8362
pack/pack-
pack/pack-
sent 3962 bytes received 91046 bytes 21112.89 bytes/sec
total size is 70431 speedup is 0.74
rsync: link_stat "projects/
rsync error: some files could not be transferred (code 23) at main.c(1538) [receiver=
fatal: Could not run rsync to get refs
git clone rsync:/
pack/pack-
pack/pack-
pack/pack-
pack/pack-
sent 270762 bytes received 146558668 bytes 12403.75 bytes/sec
total size is 145284797 speedup is 0.99
rsync: link_stat "projects/
rsync error: some files could not be transferred (code 23) at main.c(1538) [receiver=
fatal: Could not run rsync to get refs
since git use rsync as backend,
and it's safe to ignore the packed-refs
so the quick fix would be as below:
rsync -av --ignore-existing --exclude info --exclude packed-refs \ //moblin. org/repos/ projects/ kernel- mid-2.6. 24.git kernel- mid-2.6. 24/.git
rsync: