diff options
author | Unknwon <u@gogs.io> | 2015-03-16 04:52:11 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-16 04:52:11 -0400 |
commit | fc6db829b2040227bb9dac6d243a9f94c5651154 (patch) | |
tree | 2933da30cc9b49919397999ebcb41485e49545ad /models/action.go | |
parent | 588f3215c6c4a82c7ad9cbd2cc6a5683d0ca3cc2 (diff) | |
download | gitea-fc6db829b2040227bb9dac6d243a9f94c5651154.tar.gz gitea-fc6db829b2040227bb9dac6d243a9f94c5651154.zip |
fix read access team visibility of private repo
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index f97ecfcde3..46ce44e26b 100644 --- a/models/action.go +++ b/models/action.go @@ -309,7 +309,7 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string, return errors.New("action.CommitRepoAction(GetRepositoryByName): " + err.Error()) } repo.IsBare = false - if err = UpdateRepository(repo); err != nil { + if err = UpdateRepository(repo, false); err != nil { return errors.New("action.CommitRepoAction(UpdateRepository): " + err.Error()) } |