diff options
| author | Jeff Carr <[email protected]> | 2025-02-21 09:34:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-21 09:34:41 -0600 |
| commit | 27c8c380475147f640fb971fe5ac5d0b5d1b2ac3 (patch) | |
| tree | f595de7d808ae201763777187fa22cf7757061ec /reloadRepoState.go | |
| parent | 3f1c8bf5c28a8cbff50b56367954d5daf4ad0bcc (diff) | |
rm old code
Diffstat (limited to 'reloadRepoState.go')
| -rw-r--r-- | reloadRepoState.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/reloadRepoState.go b/reloadRepoState.go index 7707c42..296d43d 100644 --- a/reloadRepoState.go +++ b/reloadRepoState.go @@ -23,14 +23,9 @@ func (repo *Repo) setRepoState() { } } if repo.GetDevelVersion() != repo.GetMasterVersion() { - if !repo.ExistsDevelBranch() { - // there is no devel branch. you are safe to proceed - repo.State = "no devel branch" - return - } if !repo.IsLocalBranch(repo.GetDevelBranchName()) { // the remote devel branch exists but is not checked out - repo.State = "devel not checked out" + repo.State = "no devel branch" return } b1 := repo.CountDiffObjects(repo.GetMasterBranchName(), repo.GetDevelBranchName()) |
