summaryrefslogtreecommitdiff
path: root/newRepo.go
diff options
context:
space:
mode:
Diffstat (limited to 'newRepo.go')
-rw-r--r--newRepo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/newRepo.go b/newRepo.go
index 57561f7..5933f11 100644
--- a/newRepo.go
+++ b/newRepo.go
@@ -111,7 +111,7 @@ func (r *RepoList) AddRepo(pb *gitpb.Repo) (*RepoRow, error) {
})
newRepo.endBox.NewButton("commit all", func() {
- if !newRepo.Status.IsUserBranch() {
+ if !newRepo.pb.IsUserBranch() {
log.Log(REPOWARN, "can not commit on non user branch")
return
}