rebase autosquash doesn't recognise a chain of fixups
- From
Carlos Martín Nieto <cmn@elego.de>
- Date
- Apr 5, 2011, 15:41 UTC
- Message-ID
- <20110405154100.GC16031@bee.lab.cmartin.tk>
Hello,
Say I have the following commits:
5154127 fixup! fixup! one
0d130d8 fixup! one
0869d30 onebecause 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! onewhen I was hoping for
pick 0869d30 one
fixup 0d130d8 fixup! one
fixup 5154127 fixup! fixup! oneChanging 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