Browse Source

vendor: update github.com/gogs/git-module

Unknwon 6 years ago
parent
commit
f4f4edf276

+ 1 - 1
gogs.go

@@ -16,7 +16,7 @@ import (
 	"github.com/gogs/gogs/pkg/setting"
 )
 
-const APP_VER = "0.11.58.0618"
+const APP_VER = "0.11.58.0625"
 
 func init() {
 	setting.AppVer = APP_VER

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.58.0618
+0.11.58.0625

+ 1 - 1
vendor/github.com/gogs/git-module/git.go

@@ -10,7 +10,7 @@ import (
 	"time"
 )
 
-const _VERSION = "0.6.7"
+const _VERSION = "0.6.8"
 
 func Version() string {
 	return _VERSION

+ 2 - 2
vendor/github.com/gogs/git-module/repo_tag.go

@@ -95,7 +95,7 @@ func (repo *Repository) GetTag(name string) (*Tag, error) {
 // GetTags returns all tags of the repository.
 func (repo *Repository) GetTags() ([]string, error) {
 	cmd := NewCommand("tag", "-l")
-	if version.Compare(gitVersion, "2.0.0", ">=") {
+	if version.Compare(gitVersion, "2.4.9", ">=") {
 		cmd.AddArguments("--sort=-v:taggerdate")
 	}
 
@@ -107,7 +107,7 @@ func (repo *Repository) GetTags() ([]string, error) {
 	tags := strings.Split(stdout, "\n")
 	tags = tags[:len(tags)-1]
 
-	if version.Compare(gitVersion, "2.0.0", "<") {
+	if version.Compare(gitVersion, "2.4.9", "<") {
 		version.Sort(tags)
 
 		// Reverse order

+ 3 - 3
vendor/vendor.json

@@ -207,10 +207,10 @@
 			"revisionTime": "2017-03-01T03:54:11Z"
 		},
 		{
-			"checksumSHA1": "8KekujhL9uUvM97PP6jToeeQi6M=",
+			"checksumSHA1": "dlSQtPgdbhxV8VAcE5YV3aLgSew=",
 			"path": "github.com/gogs/git-module",
-			"revision": "abc97c40967942aec90e470834436ff69e1888f2",
-			"revisionTime": "2018-06-09T01:58:34Z"
+			"revision": "73275fa99ef150d697b7fc81245e22b0319622ae",
+			"revisionTime": "2018-06-25T11:56:28Z"
 		},
 		{
 			"checksumSHA1": "MLO0PyrK2MUO6A7Z9PxWuu43C/A=",