summaryrefslogtreecommitdiff
path: root/gitConfig.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-26 02:02:56 -0600
committerJeff Carr <[email protected]>2024-01-26 02:02:56 -0600
commit9f26bc2d444b662a8ee19700612d6cc31d71df63 (patch)
tree697c99415cd425db76a7c36252c0ccad99e34484 /gitConfig.go
parent2aed84cf3ae3b51c91d929aa675cdd774a9de0ce (diff)
go status moving here
Signed-off-by: Jeff Carr <[email protected]>
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, ""
}