# How to fork on repo.or.cz?

3 messages from 2010-04-24 to 2010-05-06. Participants: Dmitrijs Ledkovs, Jason Merrill.
Thread: https://gitlist.dev/t/23591

## Dmitrijs Ledkovs, 2010-04-24 19:33

Subject: How to fork on repo.or.cz?
Message-ID: <x2r86ecb3c71004241233h97e3cf08l89aa4e6ef2fc4425@mail.gmail.com>
URL: https://gitlist.dev/e/x2r86ecb3c71004241233h97e3cf08l89aa4e6ef2fc4425%40mail.gmail.com

```
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, 2010-05-06 04:38

Subject: Re: How to fork on repo.or.cz?
Message-ID: <4BE247B3.8060704@redhat.com>
URL: https://gitlist.dev/e/4BE247B3.8060704%40redhat.com
In-Reply-To: <x2r86ecb3c71004241233h97e3cf08l89aa4e6ef2fc4425@mail.gmail.com>

```
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

```

## Dmitrijs Ledkovs, 2010-05-06 09:51

Subject: Re: How to fork on repo.or.cz?
Message-ID: <r2t86ecb3c71005060251xf1d185d6xa9e19a532d76d48c@mail.gmail.com>
URL: https://gitlist.dev/e/r2t86ecb3c71005060251xf1d185d6xa9e19a532d76d48c%40mail.gmail.com
In-Reply-To: <4BE247B3.8060704@redhat.com>

```
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:
> 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
>

```
