MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / branch

Function branch

mob.go:444–449  ·  view source on GitHub ↗
(configuration config.Configuration)

Source from the content-addressed store, hash-verified

442}
443
444func branch(configuration config.Configuration) {
445 say.Say(silentgit("branch", "--list", "--remote", newBranch("*").addWipPrefix(configuration).remote(configuration).Name))
446
447 // DEPRECATED
448 say.Say(silentgit("branch", "--list", "--remote", newBranch("mob-session").remote(configuration).Name))
449}
450
451func determineBranches(currentBranch Branch, localBranches []string, configuration config.Configuration) (baseBranch Branch, wipBranch Branch) {
452 if currentBranch.Is("mob-session") || (currentBranch.Is("master") && !configuration.CustomWipBranchQualifierConfigured()) {

Callers 2

TestBranchFunction · 0.85
executeFunction · 0.85

Calls 5

SayFunction · 0.92
silentgitFunction · 0.85
newBranchFunction · 0.85
remoteMethod · 0.80
addWipPrefixMethod · 0.80

Tested by 1

TestBranchFunction · 0.68