git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stgit: another way of storing patches
@ 2007-11-20 14:53 Jon Smirl
  2007-11-21 11:24 ` Karl Hasselström
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Smirl @ 2007-11-20 14:53 UTC (permalink / raw)
  To: Git Mailing List

What about storing each stg git patch in a branch and then
auto-merging them into the working copy? That would allow per patch
history and undo. Would it make them easier to share? You could use
tag names to tell stg how to merge and make the working branch.

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stgit: another way of storing patches
  2007-11-20 14:53 stgit: another way of storing patches Jon Smirl
@ 2007-11-21 11:24 ` Karl Hasselström
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Hasselström @ 2007-11-21 11:24 UTC (permalink / raw)
  To: Jon Smirl; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-21 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20 14:53 stgit: another way of storing patches Jon Smirl
2007-11-21 11:24 ` Karl Hasselström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).