Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [StGit PATCH] edit: Allow setting git tree SHA1 of a patch

From: Karl Wiberg <hidden>
Date: 2016-06-15 22:48:49

2010/5/16 Gustav Hållberg [off-list ref]:
I would like to have something similar to this patch, which allows for
setting the (git) tree of a particular patch. I would like to use it
(from the Emacs mode) to make it easier to split an old patch into two
(or more).

It might be that this is too "powerful" (read: unsafe), and maybe a
better (safer) command would use whatever is currently in the index
rather than a SHA1.
I think this is a reasonable idea. (Note that for unapplied
patches---or any patch that we can pop---the notion of setting the
bottom tree makes sense too. pick can currently create a patch from a
given commit; it might be reasonable to teach it (or stg new) to take
two trees instead.)

-- 
Karl Wiberg, kha@treskal.com
   subrabbit.wordpress.com
   www.treskal.com/kalle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help