From: Alex Riesen Date: Sat, 23 Jun 2007 21:04:51 GMT Subject: Re: [PATCH] transplant: move a series of commits to a different parent Message-ID: <81b0412b0706231404hc8b4bc4xd5bc51c733d8ea69@mail.gmail.com> In-Reply-To: <11826268772950-git-send-email-prohaska@zib.de> On 6/23/07, Steffen Prohaska 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 ... If a commit touches a file the content of > this file is taken as it is in the commit. No merging is > performed. Original authors, commiters, and commit messages are > preserved. > > Warning: this is just a quick hack to solve _my_ problem. > - No error checking is performed. > - Removal of files is not handled. > - Whitespace in filename is not handled. > - The index is left in dirty state. > - No branch is created for the result. > - The script is not integrated with git's shell utilities. # detached head git checkout $(git rev-parse onto) && git format-patch --stdout --full-index from..to|git am -3