Skip to content

fix 3merge null values#4542

Open
tgzsolt wants to merge 1 commit into
kptdev:mainfrom
nokia:fix-3merge-null
Open

fix 3merge null values#4542
tgzsolt wants to merge 1 commit into
kptdev:mainfrom
nokia:fix-3merge-null

Conversation

@tgzsolt
Copy link
Copy Markdown

@tgzsolt tgzsolt commented May 27, 2026

Description

fix the 3merge for an edge case related to null value

Motivation

3way merge does not use the Updated value for a key if Dest and Origin values both are null.

Fix

Do not return nil (it will delete the key from result) when original value is also null (or the key missing)

Copilot AI review requested due to automatic review settings May 27, 2026 12:09
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels May 27, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 5a3d2ef
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a16def3919136000824dc80
😎 Deploy Preview https://deploy-preview-4542--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants