Thread (1 message) 1 message, 1 author, 2016-06-15

Re: rebase autosquash doesn't recognise a chain of fixups

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:59

Kevin Ballard [off-list ref] writes:
On Tue, Apr 5, 2011 at 11:27 AM, Junio C Hamano [off-list ref] wrote:
quoted
Kevin Ballard [off-list ref] writes:
quoted
This seems unnecessary. `git commit --fixup HEAD` doesn't really make any
sense at all to run when you can say `git commit --amend` instead,

What about this sequence?

       git commit -m 'foo'
       git commit -m 'bar'
       git commit --fixup HEAD~1
       git commit -m 'baz'
       git commit --fixup HEAD~1
You raise a good point. I personally think someone who types that deserves
what he gets, but I have no objection to being intelligent about duplicate
fixup! prefixes.
Of course an alternative solution is to fix this on the "rebase -i" side,
by building on top of your d3d7a42 (rebase: better rearranging of
fixup!/squash! lines with --autosquash, 2010-11-04).

Or perhaps we would want to do both.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help