threads / discuss / 23591

How to fork on repo.or.cz?

Subject: How to fork on repo.or.cz?

## tl;dr

3 messages between Apr 24, 2010 and May 6, 2010.

replies: 2people: 2as markdown or json

Dmitrijs Ledkovs· Apr 24, 2010, 19:33 UTC · lore
Hi all,
I'm not sure if it is bug on repo.or.cz or I'm doing something wrong.

Here (gitweb url) http://repo.or.cz/w/binutils.git is a clone of binutils git-cvsimport I've made a fork of that repo (gitweb url) http://repo.or.cz/w/binutils/xnox.git

>From the fork website I'm folling the instructions:
"$ git clone --reference /path/to/your/binutils.git/incarnation mirror_URL"

So I do this: $ git clone git://repo.or.cz/binutils.git --reference ~/src/cross/binutils.git/

And I get repo very quickly cause objects are reused. Then I try to do this:

$ cd binutils/ $ git push ssh://repo.or.cz/srv/git/binutils/xnox.git --all Counting objects: 178357, done. Delta compression using up to 2 threads. Compressing objects: 100% (36896/36896), done. ^Citing objects: 5% (8918/178357), 2.16 MiB | 483 KiB/s

I terminate that, because my expectation is that repo:binutils/xnox.git has access to all objects in repo:binutils.git and should IMHO nearly instantly creates refs for all branches cause nothing changed. Looking at this output it doesn't seem like my fork is reusing objects from the "fork parent" repo.

What wrong? How am I suppose to use forks on repo.or.cz such that I upload just *my* commits and don't re-upload whole history again.

Please help
Thanks.
Jason Merrill· May 6, 2010, 04:38 UTC · re: Dmitrijs Ledkovs · lore

Re: How to fork on repo.or.cz?

On 04/24/2010 03:33 PM, Dmitrijs Ledkovs wrote:
Show 5 quoted lines
> Looking at this output it doesn't seem like my fork
> is reusing objects from the "fork parent" repo.
>
> What wrong? How am I suppose to use forks on repo.or.cz such that I
> upload just *my* commits and don't re-upload whole history again.

I have been having the same problem. I sent mail to admin@repo.or.cz about it and got this reply:

>   Thank you for the info. Unfortunately the server admin team is
> currently severely undermanned and there is noone to fix this (anyone
> interested in helping out would be gladly welcome), so all I could do
> for now is to add this to our TODO list.
Jason
Dmitrijs Ledkovs· May 6, 2010, 09:51 UTC · re: Jason Merrill · lore

Re: How to fork on repo.or.cz?

Everyone! Do you fork on repo.or.cz? Are you an export in git things? Please help out to fix a problem on repo.or.cz were after you fork a project you have to repush the whole history to the fork wasting bandwidth. Somehow alternatives are not used.

On 6 May 2010 05:38, Jason Merrill <jason@redhat.com> wrote:
Show 18 quoted lines
> On 04/24/2010 03:33 PM, Dmitrijs Ledkovs wrote:
>>
>> Looking at this output it doesn't seem like my fork
>> is reusing objects from the "fork parent" repo.
>>
>> What wrong? How am I suppose to use forks on repo.or.cz such that I
>> upload just *my* commits and don't re-upload whole history again.
>
> I have been having the same problem.  I sent mail to admin@repo.or.cz about
> it and got this reply:
>
>>  Thank you for the info. Unfortunately the server admin team is
>> currently severely undermanned and there is noone to fix this (anyone
>> interested in helping out would be gladly welcome), so all I could do
>> for now is to add this to our TODO list.
>
> Jason
>

← back to recent threads