You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go get github.com/posener/gitfs/cmd/gitfs
# github.com/posener/gitfs/fsutil../.go/src/github.com/posener/gitfs/fsutil/diff.go:171:18: too many arguments in call to diff.Format../.go/src/github.com/posener/gitfs/fsutil/diff.go:171:49: undefined: diff.OptSuppressCommon
Ok. Go to github.com/posener/gitfs/fsutil/diff.go:171:49 (link) and see:
Hey,
I think it might be Go module issue, I couldn't find anything in the docs. In the github issues, it seems like the replace directive should be only used for development: golang/go#31173.
I might make a fix on this repo, meanwhile you can use this workaround:
$ cd /tmp
$ git clone https://github.com/posener/gitfs
$ cd gitfs
$ go install ./cmd/gitfs
Catch strange bug on
v1.1.0
(I use Gov1.13.5
):Ok. Go to
github.com/posener/gitfs/fsutil/diff.go:171:49
(link) and see:Third arg for function
diff.Format()
isdiff.OptSuppressCommon()
and probably it's wrong.The text was updated successfully, but these errors were encountered: