1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

update code.gitea.io/git (#450)

This commit is contained in:
Lunny Xiao
2016-12-22 17:30:52 +08:00
committed by Thomas Boerger
parent 0c5c34d7dd
commit 47a7529d96
36 changed files with 509 additions and 480 deletions

10
vendor/code.gitea.io/git/git.go generated vendored
View File

@ -10,16 +10,16 @@ import (
"time"
)
const _VERSION = "0.4.2"
// Version return this package's current version
func Version() string {
return _VERSION
return "0.4.2"
}
var (
// Debug enables verbose logging on everything.
// This should be false in case Gogs starts in SSH mode.
Debug = false
Debug = false
// Prefix the log prefix
Prefix = "[git-module] "
)
@ -38,7 +38,7 @@ func log(format string, args ...interface{}) {
var gitVersion string
// Version returns current Git version from shell.
// BinVersion returns current Git version from shell.
func BinVersion() (string, error) {
if len(gitVersion) > 0 {
return gitVersion, nil