Re: Pushing and pulling the result of `git replace` and objects/info/alternates

2015-05-26 Thread Christian Couder
On Tue, May 26, 2015 at 4:10 PM, Stephen Kelly wrote: > On Tue, May 26, 2015 at 12:39 PM, Christian Couder > wrote: > >>> 1) How would Alice push the content to a remote host so that Bob would >>> get that automatically? >> >> I am not sure what you want exactly, but let me try to answer anyway.

Re: Pushing and pulling the result of `git replace` and objects/info/alternates

2015-05-26 Thread Stephen Kelly
On Tue, May 26, 2015 at 12:39 PM, Christian Couder wrote: > First it looks like you sent the email to me only, so I am replying to you > only. > If this was a mistake, feel free to post this email to the Git mailing list. Thanks, sorry for the mis-post. >> 1) How would Alice push the content to

Re: Pushing and pulling the result of `git replace` and objects/info/alternates

2015-05-25 Thread Christian Couder
On Mon, May 25, 2015 at 11:49 AM, Stephen Kelly wrote: > On 05/24/2015 07:28 AM, Christian Couder wrote: >> Hi, >> >> On Fri, May 22, 2015 at 4:38 PM, Stephen Kelly wrote: >>> I have tried out using `git replace --graft` and >>> .git/objects/info/alternates to 'refer to' the history in the origin

Re: Pushing and pulling the result of `git replace` and objects/info/alternates

2015-05-25 Thread Stephen Kelly
On 05/24/2015 07:28 AM, Christian Couder wrote: > Hi, > > On Fri, May 22, 2015 at 4:38 PM, Stephen Kelly wrote: >> I have tried out using `git replace --graft` and >> .git/objects/info/alternates to 'refer to' the history in the origin >> repo instead of 'duplicating' it. This is similar to how Qt

Re: Pushing and pulling the result of `git replace` and objects/info/alternates

2015-05-23 Thread Christian Couder
Hi, On Fri, May 22, 2015 at 4:38 PM, Stephen Kelly wrote: > Hello, > > I have an 'integration repo' which contains other git repos as submodules. > > One of the submodules is to be split in two to extract a library. > > A common way of doing that is to use git-filter-branch. A disadvantage > of t

Pushing and pulling the result of `git replace` and objects/info/alternates

2015-05-22 Thread Stephen Kelly
Hello, I have an 'integration repo' which contains other git repos as submodules. One of the submodules is to be split in two to extract a library. A common way of doing that is to use git-filter-branch. A disadvantage of that is that it results in duplicated partial-history in the extracted rep