From: Steffen Prohaska Date: Sun, 24 Jun 2007 17:13:42 GMT Subject: Re: [PATCH] transplant: move a series of commits to a different parent Message-ID: In-Reply-To: <20070624093017.GC2467@steel.home> On Jun 24, 2007, at 11:30 AM, Alex Riesen wrote: >> I am changing the repository. >> > > No, you don't. Magically, the script solved my problem by creating a new, corrected branch that is different from the original one. I didn't run any other script. I promise, I ran the script that I sent in the patch. >> I only modify the index for files that have changes in $commit. Their >> content gets replaced by the content from the commit. I'm leaving >> all other files untouched. > > No, you don't modify anything. Ever tried to run git-status after your > script finished? Yes. > Tried to understand what the output means? Not really. I instead reset the index to a controlled state. Steffen