Skip to content

Conversation

flaix
Copy link
Member

@flaix flaix 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.

flaix added 2 commits October 28, 2016 11:02
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-org:master Oct 28, 2016
@gitblit
Copy link
Collaborator

gitblit commented Oct 28, 2016

Looks good and a reasonable request.

@flaix flaix added this to the 1.9.0 milestone Dec 13, 2016
@flaix flaix deleted the merge-strategy branch June 16, 2019 09:13
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