Skip to content

git: avoid merge conflicts when adding changelog entries#2273

Merged
jpsim merged 1 commit intomainfrom
git-avoid-merge-conflicts-when-adding-changelog-entries
May 13, 2022
Merged

git: avoid merge conflicts when adding changelog entries#2273
jpsim merged 1 commit intomainfrom
git-avoid-merge-conflicts-when-adding-changelog-entries

Conversation

@jpsim
Copy link
Copy Markdown
Contributor

@jpsim jpsim commented May 12, 2022

From https://git-scm.com/docs/git-merge-file

Instead of leaving conflicts in the file, resolve conflicts favouring our (or their or both) side of the lines.

Also see this blog post: https://about.gitlab.com/blog/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/

From https://git-scm.com/docs/git-merge-file

> Instead of leaving conflicts in the file, resolve conflicts favouring
> our (or their or both) side of the lines.

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim marked this pull request as ready for review May 12, 2022 20:21
@jpsim jpsim requested a review from Augustyniak May 12, 2022 20:22
@jpsim jpsim merged commit 26c7afb into main May 13, 2022
@jpsim jpsim deleted the git-avoid-merge-conflicts-when-adding-changelog-entries branch May 13, 2022 02:57
jpsim added a commit that referenced this pull request May 17, 2022
* origin/main: (97 commits)
  docs: update python packages to work with Python 3.10 (#2286)
  test: adding a cancel test, cleaning up copy-paste code (#2283)
  envoy: update to d88f31b (#2279)
  api: disallow setting 'host' header directly (#2275)
  android: add support for registering a platform KV store (#2134)
  Bump Lyft Support Rotation (#2278)
  tools: Enable the VSCode completion db to use bazelisk if available (#2277)
  Release v0.4.6.20220513-4
  Fix android_release_deploy
  Release v0.4.6.20220513-3
  Release v0.4.6.20220513-2
  net: enable happy eyeballs by default (#2272)
  git: avoid merge conflicts when adding changelog entries (#2273)
  docs: fix sphinx reference mismatch warning (#2274)
  tests: add -Xcheck:jni to kotlin integration tests by default (#2269)
  configuration: enable h2 ping by default (#2270)
  Add version history entries for user-facing changes (#2271)
  configuration: filter unroutable addresses on Android by default (#2267)
  Integrate rules_xcodeproj (#2263)
  Add assert when failing to get_env (#2253)
  ...

Signed-off-by: JP Simard <jp@jpsim.com>
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.

2 participants