aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogs
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-10-23 07:00:28 -0400
committerUnknwon <u@gogs.io>2018-10-23 07:02:13 -0400
commita1098384c09bc0d569ec82d19c26415e00cc364b (patch)
treedd4bbba84474eb6745a3fdfa4bf8532068a6277b /vendor/github.com/gogs
parent43bca4df40b933332ffe99468240c6a3413bf853 (diff)
vendor: update github.com/gogs/git-module
Diffstat (limited to 'vendor/github.com/gogs')
-rw-r--r--vendor/github.com/gogs/git-module/repo_tag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/gogs/git-module/repo_tag.go b/vendor/github.com/gogs/git-module/repo_tag.go
index 57de8eb3..2bc8986e 100644
--- a/vendor/github.com/gogs/git-module/repo_tag.go
+++ b/vendor/github.com/gogs/git-module/repo_tag.go
@@ -96,7 +96,7 @@ func (repo *Repository) GetTag(name string) (*Tag, error) {
func (repo *Repository) GetTags() ([]string, error) {
cmd := NewCommand("tag", "-l")
if version.Compare(gitVersion, "2.4.9", ">=") {
- cmd.AddArguments("--sort=-v:taggerdate")
+ cmd.AddArguments("--sort=-creatordate")
}
stdout, err := cmd.RunInDir(repo.Path)