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

This commit is contained in:
Unknwon
2018-10-23 07:00:28 -04:00
parent 43bca4df40
commit a1098384c0
4 changed files with 6 additions and 6 deletions

View File

@@ -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)