pijul_org / pijul

#39 squash several patches

Opened by lthms, on April 7, 2017
Open
Feature
lthms commented on April 7, 2017

I would love to be able to squash several patches together.

lthms commented on April 7, 2017

(I think it is already doable now using unrecord then record, so having the actual command might not be difficult, if there is an agreement of that feature)

brian commented on May 4, 2017

FWIW, I do think it would be useful to have a single atomic squashing feature. In particular I don't want to unrecord something, lose all the metadata (commit message, etc.) but then get distracted and be in kind of a broken state. (In fact, most of my interaction with git is in the interactive rebase UI, squashing multiple patches together and reordering them.)

pierrebeaucamp commented on October 5, 2017

Sorry for not contributing anything meaningful to this discussion, but this is a feature I would love to see in Pijul as well.

pikulin commented on June 8, 2018

Unrecord + record will work only for a patch that has no codependencies

pikulin commented on June 11, 2018

Here is my unsuccessful attempt of implementing this. Possibly can be useful to someone. Idea:

  • implement reword
  • implement join which uses the reword functionality as part of itself