From: Denis Bueno Date: Fri, 11 Jul 2008 18:49:20 GMT Subject: Re: git cherry-pick before archive Message-ID: <6dbd4d000807111149s4fb661cak9fac152864260901@mail.gmail.com> In-Reply-To: On Fri, Jul 11, 2008 at 14:46, Johannes Schindelin wrote: > BTW in your case, I would suggest this: > > INDEX_FILE=.git/bla git read-tree HEAD && > INDEX_FILE=.git/bla git apply --cached patchfile && > INDEX_FILE=.git/bla git archive [...] && > rm .git/bla > > IOW: Just use a temporary index for your work. What is the rationale? So I can relieve the assumption that the index is clean? -- Denis