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

git: set merge strategy for CHANGELOG.md to union #1062

Merged

Conversation

arogge
Copy link
Member

@arogge arogge commented Feb 3, 2022

This patch adds a .gitattributes file that will configure the merge
strategy for CHANGELOG.md to union. This will make sure conflict
resolution will simply keep all lines added.
This may produce bogus merges, but will usually do the right thing. As
always, make sure to review your files after a merge.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted

@arogge arogge added the nobuild label Feb 3, 2022
@pstorz pstorz changed the title set merge strategy for CHANGELOG.md to union git: set merge strategy for CHANGELOG.md to union Feb 4, 2022
@pstorz pstorz changed the title git: set merge strategy for CHANGELOG.md to union git: set merge strategy for CHANGELOG.md to union Feb 4, 2022
arogge and others added 2 commits February 4, 2022 11:51
This patch adds a .gitattributes file that will configure the merge
strategy for CHANGELOG.md to union. This will make sure conflict
resolution will simply keep all lines added.
This may produce bogus merges, but will usually do the right thing. As
always, make sure to review your files after a merge.
@pstorz pstorz force-pushed the dev/arogge/master/changelog-union-merge branch from b47a42f to 4853b44 Compare February 4, 2022 10:51
@pstorz pstorz self-requested a review February 4, 2022 10:52
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Works like charm. Good work!

@pstorz pstorz merged commit 3790ade into bareos:master Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants