Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Fix incorrect behavior of git_buildbot.py when using --first-parent option #25

Merged
merged 2 commits into from
Sep 28, 2024

Conversation

ivanov17
Copy link
Contributor

@ivanov17 ivanov17 commented Oct 16, 2023

This is the fix for #24

It prevents changes from being lost when using the --first-parent option. Added full diff showing for merge commits when the option is enabled. Otherwise, the default behavior is retained.

The behavior when creating a branch has also been fixed. It now matches the behavior when updating a branch: when this option is enabled, changes will not be added from merged commits. This prevents duplication of changes and triggering builds for them twice.

The changes have been tested and work as expected.

@ivanov17
Copy link
Contributor Author

@tardyp @rutsky @djmitche Sorry, can you look at the pull request? These are minor changes.

@djmitche
Copy link
Member

Hi @ivanov17, I apologize, but I haven't used Buidbot in almost a decade :(

@ivanov17
Copy link
Contributor Author

@djmitche Thank you anyway. @p12tic is currently an active maintainer of Buildbot, but he does not have write permissions to this repository. Maybe this situation can be corrected?

Copy link
Member

@p12tic p12tic left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Sorry for the delay.

@p12tic p12tic force-pushed the git-first-parent-behavior-fix branch from 6797052 to f8e1b66 Compare September 28, 2024 17:53
@p12tic p12tic merged commit e34f0bf into buildbot:master Sep 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants