diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-27 14:00:23 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-27 14:00:23 +0800 |
commit | bc1abb010dde0fa657c43dd3777ba55e59087b11 (patch) | |
tree | 651c22cc5028704d0e2371b57ca24a5b85496b3b | |
parent | dd6246877d8dd2de5f71f51c58a90eb155785c34 (diff) | |
download | gitea-bc1abb010dde0fa657c43dd3777ba55e59087b11.tar.gz gitea-bc1abb010dde0fa657c43dd3777ba55e59087b11.zip |
bug fixed
-rw-r--r-- | models/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/git.go b/models/git.go index ac95257790..8e1bc4e32c 100644 --- a/models/git.go +++ b/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 } |