Skip to content

Commit 7d21a07

Browse files
authored
chore: set union merge strategy to changelog.md (ignite#2814)
Since we are forcing the updage of changelog.md on every PR, this leads to many conflicts when it's time to merge. By forcing the merge strategy of this file to `union`, it decreases the chance of conflicts by ~90%. The downside is sometimes the merge gets wrong (repeated lines) so the dev should have a look at the result.
1 parent 4cc5783 commit 7d21a07

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
changelog.md merge=union

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
### Changes
1616

17+
- Add changelog merge strategy in .gitattributes to avoid conflicts.
1718
- Refactor `templates/app` to remove `monitoringp` module from the default template
1819
- Updated keyring dependency to match what Cosmos SDK is using
1920
- Speed up the integration tests

0 commit comments

Comments
 (0)