summaryrefslogtreecommitdiff
path: root/doDirty.go
diff options
context:
space:
mode:
Diffstat (limited to 'doDirty.go')
-rw-r--r--doDirty.go22
1 files changed, 1 insertions, 21 deletions
diff --git a/doDirty.go b/doDirty.go
index f4373d9..a2a38ec 100644
--- a/doDirty.go
+++ b/doDirty.go
@@ -13,12 +13,7 @@ import (
func doDirty() {
doCheckDirtyAndConfigSave()
- if allerr := me.forge.RillRepos(checkNormalRepoState); len(allerr) != 0 {
- log.Info("Some repos are not in a 'normal' state. error count =", len(allerr))
- for repo, err := range allerr {
- log.Info("repo not normal", repo.GetFullPath(), err)
- }
- }
+
found := findDirty()
if found.Len() == 0 {
return
@@ -30,21 +25,6 @@ func doDirty() {
}
}
-// 99% of the time, the repos during development should be on your user branch.
-// error out if it's not
-// this checks to see if a devel and user branch exist
-// this needs to run each time in case repos were added manually by the user
-// this also verifies that
-func checkNormalRepoState(repo *gitpb.Repo) error {
- if _, err := repo.MakeLocalDevelBranch(); err != nil {
- return err
- }
- if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
- return repo.CheckoutUser()
- }
- return nil
-}
-
func straightCheckDirty() int {
var count int
// var total int