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

Re: [PATCH] rebase --fix: interactive fixup mode

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:52:45

2012/1/9 Jonathan Nieder [off-list ref]:
Funny. :)  I wonder if this is possible to generalize, to something like

       git rebase -i foo^{last-merge}

or even something like

       git rebase -i foo^{first:--merges}

(where "<commit>^{first:<rev-list args>}" would mean something like
"the first commit listed by "git rev-list <rev-list args> <commit>").
What do you think?
Is something like this over-generalized?

http://kerneltrap.org/mailarchive/git/2010/12/24/47502

A good thing I see from having a specific option for "-i HEAD~n" is
that it's potentially shorter to type. For someone who does rebase a
lot and has CapsLock turned to Ctrl, it helps. Maybe "rebase -I" ==
"rebase -i HEAD^{last-merge}" (or "rebase -i
<the-revision-used-last-time>") and "rebase -I <n>" == "rebase -i
HEAD~<n>"?
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help