From: Steffen Prohaska Date: Sun, 24 Jun 2007 06:55:35 GMT Subject: Re: [PATCH] transplant: move a series of commits to a different parent Message-ID: In-Reply-To: On Jun 23, 2007, at 10:54 PM, Johannes Schindelin wrote: >> git-transplant.sh >> >> transplant starts with the contents of and puts on top of >> it the contents of files if they are touched by the series of >> commits ... > > This reeks of rebase. > > IOW, I suspect that it does almost the same as > > git checkout > git rebase -s ours --onto ^ It doesn't do anything useful for me. In fact it seems as if it did nothing. I tried your proposal: - rebase says 'Changes from to ', - then it rewinds to , - next it says several time 'Already applied: ...' with increasing patch numbers, - then 'All done', - The result is the same as if I executed 'git reset --hard '. I thought about something similar before I wrote transplant. Honestly, I didn't understand what rebase would do combined with ours. Steffen