(configuration config.Configuration, currentBaseBranch Branch)
| 19 | } |
| 20 | |
| 21 | func showActiveMobSessions(configuration config.Configuration, currentBaseBranch Branch) { |
| 22 | existingWipBranches := getWipBranchesForBaseBranch(currentBaseBranch, configuration) |
| 23 | if len(existingWipBranches) > 0 { |
| 24 | say.Info("remote wip branches detected:") |
| 25 | for _, wipBranch := range existingWipBranches { |
| 26 | time := silentgit("log", "-1", "--pretty=format:(%ar)", wipBranch) |
| 27 | say.WithPrefix(wipBranch+" "+time, " - ") |
| 28 | } |
| 29 | } else { |
| 30 | say.Info("no remote wip branches detected!") |
| 31 | } |
| 32 | } |
no test coverage detected