| 1 | // The rebase engine: a family of stacked changes, read from one snapshot |
| 2 | // of origin, rebased onto main in a throwaway worktree, and published as |
| 3 | // one atomic branch push and one record append per change. valley-go |
| 4 | // (../status) runs it for valley rebase and review's [b]ase, and it reads |
| 5 | // how far each version has landed for valley-go's listings too. |
| 6 | module the-valley/rebase |
| 7 | |
| 8 | go 1.24 |
| 9 | |
| 10 | require the-valley/change v0.0.0 |
| 11 | |
| 12 | // The change record is shared with the push hook (../valleyhook), so the |
| 13 | // engine writes a record exactly the way the hook reads it. It lives in |
| 14 | // this repository and is never fetched. |
| 15 | replace the-valley/change => ../change |