mergestrategy

package
v0.2.0-dev.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mergestrategy holds the shared source-control integration strategy used across SubmitQueue, runway, and other repo-local domains. It names how a change is integrated into the target branch (rebase, squash-rebase, merge, promote).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MergeStrategy

type MergeStrategy string

MergeStrategy defines the possible source control integration methods.

const (
	// MergeStrategyUnknown is the unknown strategy. It is set by default when the structure is initialized. It should never be seen in the system and is used for error control.
	MergeStrategyUnknown MergeStrategy = ""
	// MergeStrategyRebase rebases commits onto the target branch before landing.
	MergeStrategyRebase MergeStrategy = "rebase"
	// MergeStrategySquashRebase squashes commits into a single commit before rebasing on top of the target branch.
	MergeStrategySquashRebase MergeStrategy = "squash_rebase"
	// MergeStrategyMerge merges commits into the target branch by creating a separate merge commit, preserving the commit history along with hashes.
	MergeStrategyMerge MergeStrategy = "merge"
	// MergeStrategyPromote integrates the exact revision as-is, with no content transform — it advances the target branch to an already-existing commit rather than producing new revisions. The implementer maps it to its backend (git fast-forward, Mercurial bookmark advance, Subversion/Perforce copy). Used to promote an already-landed/verified commit onto another branch.
	MergeStrategyPromote MergeStrategy = "promote"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL