Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge strategy #1142

Merged
merged 2 commits into from Oct 28, 2016
Merged

Merge strategy #1142

merged 2 commits into from Oct 28, 2016

Conversation

@fzs
Copy link
Collaborator

fzs commented Oct 28, 2016

This is pull request #218 reopened. The PR has been closed unmerged for two years now, but there is no work on ticket 104 either. In order to move this forward a little I have rebased the original changes on master. It only implements part of ticket 104, namely "Fast Forward Only", "Merge If Necessary" and "Always Merge". I would request to merge that much already, even if it doesn't fully cover ticket 104.

fzs added 2 commits Jun 21, 2014
Add the option to merge a ticket branch to the integration branch
only when it can be fast-forwarded, or
always with a merge commit, or
by fast-foward if possible, otherwise with a merge commit.

Adds a new property ticket.mergeType with the valid values
FAST_FOWARD_ONLY, MERGE_ALWAYS and MERGE_IF_NECESSARY.

Merging and canMerge were refactored to make use of a new
IntegrationStrategy class for each type of strategy.
The merge type is a per repository setting. Add it to the edit page.
@gitblit gitblit merged commit d64dd5d into gitblit:master Oct 28, 2016
@gitblit

This comment has been minimized.

Copy link
Owner

gitblit commented Oct 28, 2016

Looks good and a reasonable request.

@fzs fzs added this to the 1.9.0 milestone Dec 13, 2016
@fzs fzs deleted the fzs:merge-strategy branch Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.