-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
- In order to keep history clean, I would like to avoid unnecessary merge commits.
- Rebase is a potentially destructive operation, which may lead to unnecessary conflicts.
Therefore I would like to have a merge style, which conducts a fast-forward merge if possible and created a merge commit if necessary (i.e. diverged target branch).
This would correspond to git merge --ff
. Ref. git-merge(1)
:
--ff
With --ff, when possible resolve the merge as a fast-forward (only
update the branch pointer to match the merged branch; do not create
a merge commit). When not possible (when the merged-in history is
not a descendant of the current history), create a merge commit.
Screenshots
No response
jklippel, wolftune, heroofhyla, PatchMixolydic, DidierLoiseau and 2 more
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.