We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1928918 commit ac974a2Copy full SHA for ac974a2
modules/git/repo_branch_gogit.go
@@ -57,7 +57,7 @@ func (repo *Repository) IsBranchExist(name string) bool {
57
58
// GetBranches returns branches from the repository, skipping "skip" initial branches and
59
// returning at most "limit" branches, or all branches if "limit" is 0.
60
-// Branches are returned with sort of `-commiterdate` as the nogogit
+// Branches are returned with sort of `-committerdate` as the nogogit
61
// implementation. This requires full fetch, sort and then the
62
// skip/limit applies later as gogit returns in undefined order.
63
func (repo *Repository) GetBranchNames(skip, limit int) ([]string, int, error) {
0 commit comments