File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77app-k9mail /build.gradle.kts merge =merge_gradle
88app-thunderbird /build.gradle.kts merge =merge_gradle
9+
10+ app-thunderbird /src /release /res /raw /changelog_master.xml merge =ours
11+ app-thunderbird /src /beta /res /raw /changelog_master.xml merge =ours
912app-k9mail /src /main /res /raw /changelog_master.xml merge =ours
13+
14+ app-metadata /com.fsck.k9 /* /changelogs /** merge =ours
15+ app-metadata /net.thunderbird.android.beta /* /changelogs /** merge =ours
16+ app-metadata /net.thunderbird.android /* /changelogs /** merge =ours
Original file line number Diff line number Diff line change @@ -43,8 +43,9 @@ git checkout ${into_branch}
4343git pull
4444git config merge.ours.driver true
4545git config merge.merge_gradle.driver " python3 scripts/ci/merges/merge_gradle.py %A %B"
46+ git config merge.merge_changelog.driver " scripts/ci/merges/merge_changelog.sh %A %O %B"
4647set +e
47- git merge " origin/${from_branch} "
48+ git merge -Xtheirs " origin/${from_branch} " 2>&1 | grep --color=always -E ' \bCONFLICT\b|$ '
4849ret=$?
4950set +x
5051
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # This merge driver exists to override the -Xtheirs CLI option used when merging
4+ # two trees together (e.g. main -> beta).
5+
6+ A=" $1 " # File A (ours)
7+ O=" $2 " # Common ancestor
8+ B=" $3 " # File B (theirs)
9+
10+ git merge-file -- " $A " " $O " " $B "
You can’t perform that action at this time.
0 commit comments