Re: Equivalent of "fixup" for git filter-branch
- From
- Philippe Vaucher <philippe.vaucher@gmail.com>
- Date
- May 12, 2012, 12:12 UTC
- Message-ID
- <CAGK7Mr6dMA=r3omxUgvozxi0o_rzF3ZwDwJB3FzNWW41OXYiTg@mail.gmail.com>
- In-Reply-To
- <m2d36aompd.fsf@igel.home>
Show 6 quoted lines
> > I was also thinking maybe I could use --parent-filter: when I find a > > fixup commit, I set its parent to its parent's parent? > > This will keep the attributes of the fixup commit, discarding the > parent's ones. In git rebase, a fixup keeps the attributes of the > parent, discarding the ones of the fixup.
Ah right. Thanks for your suggestions, I'll try to get it going. Maybe the result could be material for more examples in the man page.
Philippe