Skip to content

Conversation

@dandarnell
Copy link
Collaborator

This patch does two things:

Tells git to default to a "theirs" strategy when there are merge conflicts (i.e. in a main -> beta merge conflict, take the file from main).

Highlight "CONFLICT" in red, so it can be easily spotted in git merge output.

@dandarnell dandarnell requested review from a team as code owners January 30, 2026 01:31
@dandarnell dandarnell requested a review from asoucar January 30, 2026 01:31
@dandarnell dandarnell changed the title Merge tweaks Tweak merge script to have less conflicts and output to be more readable Jan 30, 2026
@wmontwe wmontwe changed the title Tweak merge script to have less conflicts and output to be more readable chore(ci): tweak merge script to have less conflicts and output to be more readable Feb 3, 2026
scripts/ci/templates/changelog_master.xml merge=merge_changelog

app-metadata/com.fsck.k9/*/changelogs/** merge=merge_changelog
app-metadata/net.thunderbird.android.beta/*/changelogs/** merge=merge_changelog No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

You'll want to add this one too:
app-metadata/net.thunderbird.android/*/changelogs/** merge=merge_changelog

app-thunderbird/build.gradle.kts merge=merge_gradle
app-k9mail/src/main/res/raw/changelog_master.xml merge=ours

app-k9mail/src/main/res/raw/changelog_master.xml merge=merge_changelog
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we'll want to add this one too:
./app-thunderbird/src/release/res/raw/changelog_master.xml

It only exists in the release branch but to be safe we don't want to overwrite it.

app-k9mail/src/main/res/raw/changelog_master.xml merge=merge_changelog
app-thunderbird/src/debug/res/raw/changelog_master.xml merge=merge_changelog
app-thunderbird/src/daily/res/raw/changelog_master.xml merge=merge_changelog
scripts/ci/templates/changelog_master.xml merge=merge_changelog
Copy link
Collaborator

Choose a reason for hiding this comment

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

These 3 can can be removed. It should be fine to overwrite what's in beta/release with what is in main:

app-thunderbird/src/debug/res/raw/changelog_master.xml merge=merge_changelog
app-thunderbird/src/daily/res/raw/changelog_master.xml merge=merge_changelog
scripts/ci/templates/changelog_master.xml merge=merge_changelog

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.

3 participants