summaryrefslogtreecommitdiff
path: root/gitConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'gitConfig.go')
-rw-r--r--gitConfig.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/gitConfig.go b/gitConfig.go
index f849170..9e185a1 100644
--- a/gitConfig.go
+++ b/gitConfig.go
@@ -364,6 +364,15 @@ func (rs *RepoStatus) CheckGoSum() (bool, string) {
log.Log(WARN, " NOT FOUND BUT IGNORING FOR NOW")
}
}
+ err, output := rs.RunCmd([]string{"git", "branch", "--remotes"})
+ if err == nil {
+ lines := strings.Split(output, "\n")
+ for i, s := range lines {
+ log.Log(WARN, "add line", i, s)
+ }
+ } else {
+ log.Log(WARN, "git branch --remotes failed", err)
+ }
return true, ""
}