Commit b0c395d
committed
Short-circuit when change set has no changes
- Don't call ExecuteChangeSet on stack start when there are no
changes in the change set. Fix a spurious error when using a
change set with no changes on a stack in an
`UPDATE_ROLLBACK_COMPLETE` state.
Short-circuit when changes is empty. This fixes a
mistaken error when stack-start! believes that we
made changes and throws on seeing
`UPDATE_ROLLBACK_COMPLETE` because it thinks that
we caused it. This also avoids an unnecessary
ExecuteChangeSet operation.1 parent 1c32585 commit b0c395d
2 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
429 | 431 | | |
430 | 432 | | |
431 | 433 | | |
| |||
0 commit comments