Re: [PATCH v3 2/8] Add delta-islands.{c,h}

2018-08-11 Thread Christian Couder
On Sat, Aug 11, 2018 at 4:12 PM, Jeff King wrote: > On Sat, Aug 11, 2018 at 12:32:32PM +0200, Christian Couder wrote: > >> Ok, I have made the following changes in the branch I will send next. >> >> diff --git a/delta-islands.c b/delta-islands.c >> index 92137f2eca..22e4360810 100644 >> ---

Re: [PATCH v3 2/8] Add delta-islands.{c,h}

2018-08-11 Thread Jeff King
On Sat, Aug 11, 2018 at 12:32:32PM +0200, Christian Couder wrote: > Ok, I have made the following changes in the branch I will send next. > > diff --git a/delta-islands.c b/delta-islands.c > index 92137f2eca..22e4360810 100644 > --- a/delta-islands.c > +++ b/delta-islands.c > @@ -322,8 +322,7 @@

Re: [PATCH v3 2/8] Add delta-islands.{c,h}

2018-08-11 Thread Christian Couder
On Sat, Aug 11, 2018 at 11:04 AM, SZEDER Gábor wrote: >> diff --git a/delta-islands.c b/delta-islands.c >> new file mode 100644 >> index 00..448ddcbbe4 >> --- /dev/null >> +++ b/delta-islands.c > >> +static void deduplicate_islands(void) >> +{ >> + struct remote_island *island, *core

Re: [PATCH v3 2/8] Add delta-islands.{c,h}

2018-08-11 Thread SZEDER Gábor
> diff --git a/delta-islands.c b/delta-islands.c > new file mode 100644 > index 00..448ddcbbe4 > --- /dev/null > +++ b/delta-islands.c > +static void deduplicate_islands(void) > +{ > + struct remote_island *island, *core = NULL, **list; > + unsigned int island_count, dst, src,

[PATCH v3 2/8] Add delta-islands.{c,h}

2018-08-09 Thread Christian Couder
From: Jeff King Hosting providers that allow users to "fork" existing repos want those forks to share as much disk space as possible. Alternates are an existing solution to keep all the objects from all the forks into a unique central repo, but this can have some drawbacks. Especially when