Go-Package-Store: Wrongly reports local revisions are ahead of remote revisions.
I just got:
skipping "github.com/astaxie/bat" because:
local revision "cba1c6bba4a613a5c14348479cd5e97820bdfdc5" is ahead of remote revision "30a7d43fe800eb26ad83af2aed5fac738b7a2574"
skipping "github.com/kardianos/govendor" because:
local revision "c86c10d612bf08e847456ce91d495eb69ad87087" is ahead of remote revision "2aae20585716bf5ad74d5eb3bf5a660243a1ac0e"
skipping "github.com/pelletier/go-toml" because:
local revision "fe7536c3dee2596cdd23ee9976a17c22bdaae286" is ahead of remote revision "4a000a21a414d139727f616a8bb97f847b1b310b"
skipping "github.com/spf13/cobra" because:
local revision "99b5d838ca16c25cc4944e323684f8415e8b10ba" is ahead of remote revision "4d647c8944eb42504a714e57e97f244ed6344722"
skipping "golang.org/x/sys" because:
local revision "fb4cac33e3196ff7f507ab9b2d2a44b0142f5b5a" is ahead of remote revision "c23410a886927bab8ca5e80b08af6a56faeb330d"
skipping "golang.org/x/net" because:
local revision "057a25b06247e0c51ba15d8ae475feb2fcb72164" is ahead of remote revision "5f8847ae0d0e90b6a9dc8148e7ad616874625171"
skipping "gopkg.in/src-d/go-git.v4" because:
local revision "7e249dfcf28765939bde8f38784b3274b522f880" is ahead of remote revision "ad02bf020460c210660db4fffda7f926b6aae95a"
Looked at bat
, sure enough, cba...
is older than 30a...
as per https://github.com/astaxie/bat/commits/master.
What’s wrong here? I went into the clone and was able to git pull
into the new version. Haven’t touched the rest yet.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 24 (12 by maintainers)
Commits related to this issue
- Use git for-each-ref --contains for Contains, RemoteContains. git for-each-ref is a low-level plumbing command. The --contains flag was added in git 2.7. We can safely use it in git28 implementation.... — committed to shurcooL/vcsstate by dmitshur 7 years ago
- Fix RemoteContains in git17 implementation. Handle additional possible output of the porcelain command git branch. We can't use the plumbing command git for-each-ref because it doesn't support --cont... — committed to shurcooL/vcsstate by dmitshur 7 years ago
@shurcooL apologies for the late reply. Yes, that commit seems to fix it for me 😃