diff --git a/Makefile b/Makefile index e40450b3ee..1e234c810e 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ endif modclean: @echo "removing vendor directory... " && rm -rf vendor - @echo "cleaning modcache... " && GO111MODULE=on go clean -modcache || true + @echo "cleaning modcache... " && GO111MODULE=off go clean -modcache || true mod: @echo "running go mod tidy... " && GO111MODULE=on go mod tidy diff --git a/go.mod b/go.mod index 3558c43124..47fe17bd93 100644 --- a/go.mod +++ b/go.mod @@ -71,7 +71,7 @@ require ( github.com/fernet/fernet-go v0.0.0-20151007213151-1b2437bc582b // indirect github.com/fortytw2/leaktest v1.2.0 // indirect github.com/fsamin/go-dump v1.0.8 - github.com/fsamin/go-repo v0.1.0 + github.com/fsamin/go-repo v0.1.1 github.com/fsamin/go-shredder v0.0.0-20180118184739-b2488aedb5be github.com/gambol99/go-marathon v0.0.0-20170922093320-ec4a50170df7 github.com/garyburd/redigo v1.6.0 // indirect diff --git a/go.sum b/go.sum index fe23a58cc9..57c0dbcd23 100644 --- a/go.sum +++ b/go.sum @@ -146,8 +146,8 @@ github.com/fortytw2/leaktest v1.2.0 h1:cj6GCiwJDH7l3tMHLjZDo0QqPtrXJiWSI9JgpeQKw github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fsamin/go-dump v1.0.8 h1:xD9mGM+UZLwGIId73eNUTzHs0MQ6S+138plyw7c390g= github.com/fsamin/go-dump v1.0.8/go.mod h1:ZgKd2aOXAFFbbFuUgvQhu7mwTlI3d3qnTICMWdvAa9o= -github.com/fsamin/go-repo v0.1.0 h1:5ZpaTfjaDQPUtZuMUJvGAw14rdRwWblqbhZ9nfosoBA= -github.com/fsamin/go-repo v0.1.0/go.mod h1:FjkhUwT3u2bCq7HcT+3hfMxkQhiKlfdvw91+fDHNRxo= +github.com/fsamin/go-repo v0.1.1 h1:m7x+yEPEXY+afNgdQ+gJMvEao3N5nJ6W9Tal6s0BYeg= +github.com/fsamin/go-repo v0.1.1/go.mod h1:FjkhUwT3u2bCq7HcT+3hfMxkQhiKlfdvw91+fDHNRxo= github.com/fsamin/go-shredder v0.0.0-20180118184739-b2488aedb5be h1:UhjSvwE1gxUYfekK9BXZ/LL55we9Avg+2Pt0PIlMYCk= github.com/fsamin/go-shredder v0.0.0-20180118184739-b2488aedb5be/go.mod h1:kuiNcf1lKxl4isIY6bHxbBatpLD43c2RKWIV/AGlhXY= github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= diff --git a/vendor/github.com/fsamin/go-repo/repo.go b/vendor/github.com/fsamin/go-repo/repo.go index 84057f416b..10d36f1cb3 100644 --- a/vendor/github.com/fsamin/go-repo/repo.go +++ b/vendor/github.com/fsamin/go-repo/repo.go @@ -231,10 +231,7 @@ func (r Repo) parseDiff(hash, diff string) (map[string]File, error) { var tuple []string if strings.Contains(s, "\t") { tuple = strings.SplitN(s, "\t", 2) - } else { - } - fmt.Println(s, tuple, len(tuple)) filename := strings.TrimSpace(tuple[1]) status := strings.TrimSpace(tuple[0]) diff, err := r.Diff(hash, filename) diff --git a/vendor/modules.txt b/vendor/modules.txt index 91869996b9..628c255827 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -187,7 +187,7 @@ github.com/fatih/structs github.com/fernet/fernet-go # github.com/fsamin/go-dump v1.0.8 github.com/fsamin/go-dump -# github.com/fsamin/go-repo v0.1.0 +# github.com/fsamin/go-repo v0.1.1 github.com/fsamin/go-repo # github.com/fsamin/go-shredder v0.0.0-20180118184739-b2488aedb5be github.com/fsamin/go-shredder