Commit b3d5806
committed
squash: support
Sometimes it is convenient to be able to make changes to a commit in the
past without affecting descendants -- I already have a workflow that
tracks the commits of all children, makes the changes, and then restores
manually, but that performs a lot more rebases than necessary, which
adds up when history is long. Supporting `--restore-descendants` for
`jj squash` helps this workflow greatly.--restore-descendants
1 parent d3e889b commit b3d5806
5 files changed
Lines changed: 396 additions & 18 deletions
File tree
- cli
- src/commands
- tests
- lib/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
293 | 297 | | |
294 | 298 | | |
295 | 299 | | |
296 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
297 | 305 | | |
298 | 306 | | |
299 | 307 | | |
| |||
307 | 315 | | |
308 | 316 | | |
309 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
310 | 324 | | |
311 | 325 | | |
312 | 326 | | |
| |||
332 | 346 | | |
333 | 347 | | |
334 | 348 | | |
| 349 | + | |
335 | 350 | | |
336 | 351 | | |
337 | 352 | | |
| |||
391 | 406 | | |
392 | 407 | | |
393 | 408 | | |
394 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
395 | 414 | | |
396 | 415 | | |
397 | 416 | | |
398 | 417 | | |
399 | 418 | | |
400 | 419 | | |
401 | 420 | | |
402 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
403 | 425 | | |
404 | 426 | | |
405 | 427 | | |
| |||
414 | 436 | | |
415 | 437 | | |
416 | 438 | | |
417 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
418 | 443 | | |
419 | 444 | | |
420 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3207 | 3207 | | |
3208 | 3208 | | |
3209 | 3209 | | |
| 3210 | + | |
3210 | 3211 | | |
3211 | 3212 | | |
3212 | 3213 | | |
| |||
0 commit comments