From: Karl Hasselström Date: Wed, 21 Nov 2007 11:24:59 GMT Subject: Re: stgit: another way of storing patches Message-ID: <20071121112459.GA6592@diana.vm.bytemark.co.uk> In-Reply-To: <9e4733910711200653g4d87c433gae2d48f3508940f5@mail.gmail.com> On 2007-11-20 09:53:55 -0500, Jon Smirl wrote: > What about storing each stg git patch in a branch and then > auto-merging them into the working copy? You mean making a "patch" be a topic branch rather than just one commit, with the successive commits on the topic branch reflecting the changes to the patch over time? How would you handle operations such as refreshing a non-topmost patch, reordering patches, dropping patches, etc? It seems to me that the operation you'd want then would look more like cherry-picking than merging, at least sometimes. It might work, but someone would have to sit down with pen and paper and work out how all the common operations should work. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle