{"thread":{"id":"10943","subject":"stgit: another way of storing patches","startedAt":"2007-11-20T14:53:55Z","lastAt":"2007-11-21T11:24:59Z","messageCount":2,"participants":["Jon Smirl","Karl Hasselström"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"60410","messageId":"9e4733910711200653g4d87c433gae2d48f3508940f5@mail.gmail.com","threadId":"10943","inReplyTo":null,"subject":"stgit: another way of storing patches","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2007-11-20T14:53:55Z","receivedAt":"2007-11-20T14:53:55Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"What about storing each stg git patch in a branch and then\nauto-merging them into the working copy? That would allow per patch\nhistory and undo. Would it make them easier to share? You could use\ntag names to tell stg how to merge and make the working branch.\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"60493","messageId":"20071121112459.GA6592@diana.vm.bytemark.co.uk","threadId":"10943","inReplyTo":"9e4733910711200653g4d87c433gae2d48f3508940f5@mail.gmail.com","subject":"Re: stgit: another way of storing patches","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2007-11-21T11:24:59Z","receivedAt":"2007-11-21T11:24:59Z","isPatch":false,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"On 2007-11-20 09:53:55 -0500, Jon Smirl wrote:\n\n> What about storing each stg git patch in a branch and then\n> auto-merging them into the working copy?\n\nYou mean making a \"patch\" be a topic branch rather than just one\ncommit, with the successive commits on the topic branch reflecting the\nchanges to the patch over time?\n\nHow would you handle operations such as refreshing a non-topmost\npatch, reordering patches, dropping patches, etc? It seems to me that\nthe operation you'd want then would look more like cherry-picking than\nmerging, at least sometimes.\n\nIt might work, but someone would have to sit down with pen and paper\nand work out how all the common operations should work.\n\n-- \nKarl Hasselström, kha@treskal.com\n      www.treskal.com/kalle\n"}]}