aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogits/git-module/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-03 15:09:53 -0400
committerUnknwon <u@gogs.io>2017-04-03 15:09:53 -0400
commitc07899701ac24867e18726e0502abb6c43b1e259 (patch)
treebe77b76a7327b819aaa4be51315ce8d97f1468e8 /vendor/github.com/gogits/git-module/repo.go
parentab42671c6380d32e1f7e45332e1818c9b7fec024 (diff)
vendor: update github.com/gogits/git-module
Diffstat (limited to 'vendor/github.com/gogits/git-module/repo.go')
-rw-r--r--vendor/github.com/gogits/git-module/repo.go5
1 files changed, 0 insertions, 5 deletions
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 {