Browse Source

bug fixed

pull/40/head
Lunny Xiao 11 years ago
parent
commit
bc1abb010d
  1. 2
      models/git.go

2
models/git.go

@ -51,7 +51,7 @@ func GetBranches(userName, reposName string) ([]string, error) {
brs := make([]string, len(refs))
for i, ref := range refs {
brs[i] = ref.Name
brs[i] = ref.BranchName()
}
return brs, nil
}

Loading…
Cancel
Save