<div dir="auto"></div><div class="gmail_quote">---------- Forwarded message ----------<br>From: "George Hunt" <<a href="mailto:georgejhunt@gmail.com">georgejhunt@gmail.com</a>><br>Date: Jan 19, 2017 9:28 AM<br>Subject: Re: [XSCE] Fwd: Re: [Server-devel] How can I delete 10 years of git history in the XSCE repo?<br>To: "xsce-devel" <<a href="mailto:xsce-devel@googlegroups.com">xsce-devel@googlegroups.com</a>><br>Cc: <br><br type="attribution">Thanks James, you often help me out when I'm stuck.<br>
<br>
I nominate you as world collaborator of the year<br>
<br>
On Thu, Jan 19, 2017 at 6:20 AM, Adam Holt <<a href="mailto:holt@laptop.org">holt@laptop.org</a>> wrote:<br>
><br>
> ---------- Forwarded message ----------<br>
> From: "James Cameron" <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>><br>
> Date: Jan 19, 2017 1:43 AM<br>
> Subject: Re: [Server-devel] How can I delete 10 years of git history in the<br>
> XSCE repo?<br>
> To: "George Hunt" <<a href="mailto:georgejhunt@gmail.com">georgejhunt@gmail.com</a>>, "XS Devel"<br>
> <<a href="mailto:server-devel@lists.laptop.org">server-devel@lists.laptop.org</a><wbr>><br>
> Cc:<br>
><br>
> On Wed, Jan 18, 2017 at 08:13:38PM -0800, George Hunt wrote:<br>
>> The XSCE repo, inherited from <a href="http://laptop.org" rel="noreferrer" target="_blank">laptop.org</a> has grown to 80MB+.<br>
><br>
> Yes, but what problem are you trying to solve?<br>
><br>
> A --depth 1 clone of xsce/xsce.git master is 1.64 MiB, and a --depth 1<br>
> clone of georgehunt/xsce.git base-6.2 is 941.93 KiB.  So the 80 MiB of<br>
> a full clone should have no impact unless the full history is needed;<br>
> almost nobody needs that.<br>
><br>
> Make sure your guidance for new developers mentions --depth properly,<br>
> and never script anything that clones without --depth.<br>
><br>
>> What's wanted is a repo that includes all of the commits starting from<br>
>> https:/<a href="http://github.com/xsce/xsce" rel="noreferrer" target="_blank">github.com/xsce/xsce</a> --branch release-6.0 and including all of<br>
>> the commits on <a href="https://github.com/georgejhunt/xsce" rel="noreferrer" target="_blank">https://github.com/<wbr>georgejhunt/xsce</a> --branch<br>
>> base-6.2.<br>
><br>
> Yes, easily said, not so easily done.<br>
><br>
> I've reproduced your problem, but with the release-6.0 branch alone.<br>
><br>
> That branch can't be easily reduced, because of merge conflicts that<br>
> were pushed before 6.0.  Rebasing across merge conflicts is fraught.<br>
><br>
> This blocks you from using the simple technique.<br>
><br>
> You have to either resolve each conflict, or get into rewriting<br>
> history.  Choose from the available mergetools.<br>
><br>
> It may be easier to start a fresh repository based on release-6.0,<br>
> then add a single commit to bring it to base-6.2.  Or add your ~637<br>
> commits as patches using "git format-patch" and "git am".<br>
><br>
> --<br>
> James Cameron<br>
> <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ______________________________<wbr>_________________<br>
> Server-devel mailing list<br>
> <a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
> <a href="http://lists.laptop.org/listinfo/server-devel" rel="noreferrer" target="_blank">http://lists.laptop.org/<wbr>listinfo/server-devel</a><br>
><br>
><br>
</div>