Documentation
¶
Overview ¶
Package runmerge adds a job run's changes, on the run's own branch, to its workspace's main (blitz-enterprise spec_009_jobs JB-10): the runner does it as the run ends, as the job says, and Blitz when someone adds a run's changes later.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrConflicts = errors.New("its changes and main's change the same lines")
ErrConflicts is a run's changes and main's changing the same lines: they stay on the run's branch.
Functions ¶
func IntoMain ¶
IntoMain merges remote's branch into remote's main and pushes main, in the clone git runs in (which it leaves on main), as who ("Blitz job digest"); again, up to three times, when someone pushes main meanwhile. A push refused for another reason (sign-in, a hook) isn't tried again, and its error says what git said. A branch main has already is no change.