aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogs
diff options
context:
space:
mode:
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)