Browse Source

bug fixed

tags/v1.2.0-rc1
Lunny Xiao 12 years ago
parent
commit
e9a3432d98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      serve.go

+ 1
- 1
serve.go View File

@@ -263,7 +263,7 @@ func runServ(k *cli.Context) {

commits := make([][]string, 0)
var maxCommits = 3
for e := l.Back(); e != nil; e = e.Prev() {
for e := l.Front(); e != nil; e = e.Next() {
commit := e.Value.(*git.Commit)
commits = append(commits, []string{commit.Id().String(), commit.Message()})
if len(commits) >= maxCommits {


Loading…
Cancel
Save