Closed yutianwu closed 6 months ago
post the whole log
it is the whole log
unknown revision 7ea994b6bbd8
(which exists https://github.com/anacrolix/torrent/commit/7ea994b6bbd8 just remote branch was removed after PR merge) - means you using too old git
version.
do u mean I use the old git version(which is 2.44.0) local?
not sure why this commit can not work on my side. maybe the reason it works on your side is for the local cache.
Just cleaned mod cache on my side. still works on my side.
I also cleaned my mod cache and it still does not work. My go version is go version go1.20.14 darwin/arm64
.
Anyway, why do we use such a strange commit instead a specific tag.
another proof is when I clone the repo and checkout the commit, it also complains:
~/torrent master
❯ git checkout 7ea994b6bbd8
error: pathspec '7ea994b6bbd8' did not match any file(s) known to git
It is truly wrong to import such a commit but it's weird that it works for u guys...
I believe that was fixed with PR #10052. Please re-open if that's not the case.
If we run
go mod tidy
, it will complain as below:Actually the commit
7ea994b6bbd8
does not exist in the repo, can we fix this since if I usev1.52.6
, it will fail in ci.