mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 02:46:04 +01:00 
			
		
		
		
	Fix typo in documentation of GetBranchNames() (#33330)
This commit is contained in:
		| @@ -57,7 +57,7 @@ func (repo *Repository) IsBranchExist(name string) bool { | |||||||
|  |  | ||||||
| // GetBranches returns branches from the repository, skipping "skip" initial branches and | // GetBranches returns branches from the repository, skipping "skip" initial branches and | ||||||
| // returning at most "limit" branches, or all branches if "limit" is 0. | // returning at most "limit" branches, or all branches if "limit" is 0. | ||||||
| // Branches are returned with sort of `-commiterdate` as the nogogit | // Branches are returned with sort of `-committerdate` as the nogogit | ||||||
| // implementation. This requires full fetch, sort and then the | // implementation. This requires full fetch, sort and then the | ||||||
| // skip/limit applies later as gogit returns in undefined order. | // skip/limit applies later as gogit returns in undefined order. | ||||||
| func (repo *Repository) GetBranchNames(skip, limit int) ([]string, int, error) { | func (repo *Repository) GetBranchNames(skip, limit int) ([]string, int, error) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user