diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-22 17:30:52 +0800 |
---|---|---|
committer | Thomas Boerger <thomas@webhippie.de> | 2016-12-22 10:30:52 +0100 |
commit | 47a7529d9655e11471bbe39958222a13854a6133 (patch) | |
tree | 98e597255245e17d39a0062c3977fb8a510cf413 /vendor/code.gitea.io/git/git.go | |
parent | 0c5c34d7ddaf31a6d8123dac36b221de61f5ff96 (diff) | |
download | gitea-47a7529d9655e11471bbe39958222a13854a6133.tar.gz gitea-47a7529d9655e11471bbe39958222a13854a6133.zip |
update code.gitea.io/git (#450)
Diffstat (limited to 'vendor/code.gitea.io/git/git.go')
-rw-r--r-- | vendor/code.gitea.io/git/git.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/code.gitea.io/git/git.go b/vendor/code.gitea.io/git/git.go index 71a9a37f42..2cea1dc1d5 100644 --- a/vendor/code.gitea.io/git/git.go +++ b/vendor/code.gitea.io/git/git.go @@ -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 |