Documentation
¶
Index ¶
Constants ¶
View Source
const UpstreamOwner = "suxess-it"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
func (*Info) PushStatus ¶
func (i *Info) PushStatus() (PushStatus, error)
type PushStatus ¶
func Classify ¶
func Classify(localHead, remoteHead, porcelain string) PushStatus
Classify takes `git rev-parse HEAD`, the sha from `git ls-remote` (empty if the branch is not on the remote) and `git status --porcelain` output.
func (PushStatus) Warnings ¶
func (s PushStatus) Warnings(branch string) []string
Click to show internal directories.
Click to hide internal directories.