1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

Fix issue on windows

This commit is contained in:
Unknown
2014-03-26 09:22:08 -04:00
parent 409e4cde7a
commit 7ab94fe816
6 changed files with 18 additions and 17 deletions

View File

@@ -5,18 +5,18 @@
package main
import (
"os"
"os/exec"
"strings"
"strconv"
"container/list"
"container/list"
"os"
"os/exec"
"strconv"
"strings"
"github.com/codegangsta/cli"
//"github.com/gogits/gogs/modules/log"
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base"
"github.com/qiniu/log"
"github.com/gogits/git"
"github.com/codegangsta/cli"
//"github.com/gogits/gogs/modules/log"
"github.com/gogits/git"
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base"
"github.com/qiniu/log"
)
var CmdUpdate = cli.Command{
@@ -103,7 +103,7 @@ func runUpdate(c *cli.Context) {
// if a new branch
if strings.HasPrefix(oldCommitId, "0000000") {
l, err = ref.AllCommits()
} else {
l = ref.CommitsBetween(newCommit, oldCommit)
}