Skip to content

fix: Copy left file before running unstructured merge#198

Merged
pauloborba merged 1 commit intospgroup:masterfrom
jpedroh:fix-unstructured-merge
Aug 12, 2024
Merged

fix: Copy left file before running unstructured merge#198
pauloborba merged 1 commit intospgroup:masterfrom
jpedroh:fix-unstructured-merge

Conversation

@jpedroh
Copy link
Copy Markdown
Contributor

@jpedroh jpedroh commented Aug 11, 2024

This PR addresses an issue where the git merge-file command, which operates in place by replacing the contents of the left file with the merged result, was causing the loss of information from the original left file. The solution implemented is straightforward: by making a copy of the left file before executing the git merge-file command, we preserve the original content, preventing any data loss during the merge process.

@jpedroh jpedroh requested a review from pauloborba August 11, 2024 22:22
@pauloborba pauloborba merged commit d71b493 into spgroup:master Aug 12, 2024
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