git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rebase autosquash doesn't recognise a chain of fixups
@ 2011-04-05 15:41 Carlos Martín Nieto
  2011-04-05 15:48 ` Vincent van Ravesteijn
  2011-04-05 17:34 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Carlos Martín Nieto @ 2011-04-05 15:41 UTC (permalink / raw)
  To: git

Hello,

 Say I have the following commits:

    5154127 fixup! fixup! one
    0d130d8 fixup! one
    0869d30 one

because I keep executing `git commit -a --fixup HEAD`. When I want to
squash them all into 0869d30, I do `git rebase -i --autosquash
0869d30^` and I get

    pick 0869d30 one
    fixup 0d130d8 fixup! one
    pick 5154127 fixup! fixup! one

when I was hoping for

    pick 0869d30 one
    fixup 0d130d8 fixup! one
    fixup 5154127 fixup! fixup! one

Changing the options to the latter one works (as in, the patches
apply). Is this expected? Am I just too lazy and should look up the
commit I want to fixup?

   cmn

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

end of thread, other threads:[~2011-04-05 21:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 15:41 rebase autosquash doesn't recognise a chain of fixups Carlos Martín Nieto
2011-04-05 15:48 ` Vincent van Ravesteijn
2011-04-05 16:03   ` Carlos Martín Nieto
2011-04-05 17:34 ` Junio C Hamano
2011-04-05 18:02   ` Kevin Ballard
2011-04-05 18:27     ` Junio C Hamano
     [not found]       ` <BANLkTimqvu7c559_AQ6yLxPACOxD0ciNxQ@mail.gmail.com>
2011-04-05 21:03         ` Junio C Hamano

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).