Skip to content

Conversation

@paulRbr
Copy link
Member

@paulRbr paulRbr commented Jan 13, 2026

Indeed when diffing two files, it's also possible to have two
differnet list of overlays (when we modify overlays).

This commit thus changes the overlays parameter to overlays1 and
adds a new optional overlays2 parameter to the Diff#run exported
core function.

Indeed when diffing two files, it's also possible to have two
differnet list of overlays (when we modify overlays).

This commit thus changes the `overlays` parameter to `overlays1` and
adds a new optional `overlays2` parameter to the `Diff#run` exported
core function.
paulRbr added a commit to paulRbr/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
@paulRbr paulRbr self-assigned this Jan 13, 2026
@paulRbr paulRbr enabled auto-merge January 13, 2026 11:12
@paulRbr
Copy link
Member Author

paulRbr commented Jan 13, 2026

ℹ️ note for reviewer: I've enabled auto-merge as I'm confident about releasing this change.

paulRbr added a commit to paulRbr/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
Copy link
Contributor

@fbraure fbraure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paulRbr paulRbr merged commit a5f614a into bump-sh:main Jan 13, 2026
9 checks passed
@paulRbr paulRbr deleted the diff-overlays branch January 13, 2026 14:47
paulRbr added a commit to paulRbr/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
paulRbr added a commit to paulRbr/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
paulRbr added a commit to paulRbr/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
paulRbr added a commit to paulRbr/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
paulRbr added a commit to bump-sh/github-action that referenced this pull request Jan 13, 2026
This commit adapts the diff to be able to read the overlays of the
_previous_ version (the one that we take from git on the base
branch). We then have two list of overlay files (the previous overlay
files and the current overlay files), materialized with the new
variables `overlays1` and `overlays2`.

We then pass this to the core diff function (which is modified in
bump-sh/cli#776 and thus needs the action to
update the bump-cli package to include that change).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants