diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-03-14 20:52:01 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-15 08:52:01 +0800 |
commit | 021904e4e65804baa67b38e193e15aa37a391c60 (patch) | |
tree | 5c4f74764048eadd39a51c1b27e9c4937a0d236b /models/branches.go | |
parent | ec0ae5d50c59315a3c597b1cf24d4c5508c718e5 (diff) | |
download | gitea-021904e4e65804baa67b38e193e15aa37a391c60.tar.gz gitea-021904e4e65804baa67b38e193e15aa37a391c60.zip |
Fix typos in models/ and modules/ (#1248)
Diffstat (limited to 'models/branches.go')
-rw-r--r-- | models/branches.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/branches.go b/models/branches.go index 89a699603b..322d33daae 100644 --- a/models/branches.go +++ b/models/branches.go @@ -57,7 +57,7 @@ func GetProtectedBranchBy(repoID int64, BranchName string) (*ProtectedBranch, er return rel, nil } -// GetProtectedBranches get all protected btanches +// GetProtectedBranches get all protected branches func (repo *Repository) GetProtectedBranches() ([]*ProtectedBranch, error) { protectedBranches := make([]*ProtectedBranch, 0) return protectedBranches, x.Find(&protectedBranches, &ProtectedBranch{RepoID: repo.ID}) |