summaryrefslogtreecommitdiff
path: root/branches.go
diff options
context:
space:
mode:
Diffstat (limited to 'branches.go')
-rw-r--r--branches.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/branches.go b/branches.go
index aea2caa..fc1364c 100644
--- a/branches.go
+++ b/branches.go
@@ -204,11 +204,7 @@ func (f *Forge) makeUserBranches() error {
}
func testReload(repo *gitpb.Repo) error {
- if !repo.HasChanged() {
- return nil
- }
- repo.ReloadCheck()
- return log.Errorf("repo changed")
+ return repo.HasChanged()
}
func (f *Forge) DoAllCheckoutDevelNew(force bool) error {