From c07899701ac24867e18726e0502abb6c43b1e259 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 3 Apr 2017 15:09:53 -0400 Subject: vendor: update github.com/gogits/git-module --- vendor/github.com/gogits/git-module/repo.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vendor/github.com/gogits/git-module/repo.go') diff --git a/vendor/github.com/gogits/git-module/repo.go b/vendor/github.com/gogits/git-module/repo.go index 02f264c1..aef9f385 100644 --- a/vendor/github.com/gogits/git-module/repo.go +++ b/vendor/github.com/gogits/git-module/repo.go @@ -15,7 +15,6 @@ import ( "time" "github.com/Unknwon/com" - "github.com/mcuadros/go-version" ) // Repository represents a Git repository. @@ -249,10 +248,6 @@ const ( // GetRepoSize returns disk usage report of repository in given path. func GetRepoSize(repoPath string) (*CountObject, error) { - if version.Compare(gitVersion, "1.8.3", "<") { - return nil, ErrUnsupportedVersion{"1.8.3"} - } - cmd := NewCommand("count-objects", "-v") stdout, err := cmd.RunInDir(repoPath) if err != nil { -- cgit v1.2.3