Commit 89508db
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 744a008 commit 89508db
5 files changed
Lines changed: 634 additions & 18 deletions
File tree
- cli
- src/commands
- tests
- lib/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
301 | 305 | | |
302 | 306 | | |
303 | 307 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
3278 | 3278 | | |
3279 | 3279 | | |
3280 | 3280 | | |
| 3281 | + | |
3281 | 3282 | | |
3282 | 3283 | | |
3283 | 3284 | | |
| |||
0 commit comments