Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitattributes: auto resolve merge conflicts for generated files #3366

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

will-isovalent
Copy link
Contributor

Since our generated files need to be updated via codegen targets after a rebase anyway, it makes no sense to manually resolve conflicts in them with mergetool. Therefore, let's have git automatically choose a dummy merge strategy for our generated files to streamline the process of making rebases.

@will-isovalent will-isovalent added the release-note/misc This PR makes changes that have no direct user impact. label Feb 3, 2025
@will-isovalent will-isovalent requested a review from a team as a code owner February 3, 2025 16:43
Since our generated files need to be updated via codegen targets after a rebase anyway, it
makes no sense to manually resolve conflicts in them with mergetool. Therefore, let's have
git automatically choose a dummy merge strategy for our generated files to streamline the
process of making rebases.

Signed-off-by: William Findlay <[email protected]>
@will-isovalent will-isovalent force-pushed the pr/will/auto-merge-generated-files branch from ef925e1 to ae44bf8 Compare February 4, 2025 13:51
@will-isovalent will-isovalent merged commit 1671faa into main Feb 5, 2025
39 checks passed
@will-isovalent will-isovalent deleted the pr/will/auto-merge-generated-files branch February 5, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants