-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go/internal/vcs: unnecessary git tree object required #65339
Labels
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
huww98
added a commit
to huww98/go
that referenced
this issue
Jan 29, 2024
"git show" will try to load the tree from previous commit even if -s is passed. Fixes golang#65339
Change https://go.dev/cl/559075 mentions this issue: |
huww98
added a commit
to huww98/go
that referenced
this issue
Jan 29, 2024
"git show" will try to load the tree from previous commit even if -s is passed. Fixes golang#65339
huww98
added a commit
to huww98/go
that referenced
this issue
Jan 30, 2024
"git show" by default shows the diff from the previous commit. "-s" suppress all output from the diff machinery. But it will still try to fetch the relevant objects, which may be unavailable if the repository is a partial clone. Use "git log" instead, which only needs the commit object. Fixes golang#65339
huww98
added a commit
to huww98/go
that referenced
this issue
Jan 30, 2024
"git show" by default shows the diff from the previous commit. "-s" suppress all output from the diff machinery. But it will still try to fetch the relevant objects, which may be unavailable if the repository is a partial clone. Use "git log" instead, which only needs the commit object. Fixes golang#65339
huww98
added a commit
to huww98/go
that referenced
this issue
Feb 8, 2024
"git show" by default shows the diff from the previous commit. "-s" suppress all output from the diff machinery. But it will still try to fetch the relevant objects, which may be unavailable if the repository is a partial clone. Use "git log" instead, which only needs the commit object. Fixes golang#65339
huww98
added a commit
to huww98/go
that referenced
this issue
Feb 22, 2024
"git show" by default shows the diff from the previous commit. "-s" suppress all output from the diff machinery. But it will still try to fetch the relevant objects, which may be unavailable if the repository is a partial clone. Use "git log" instead, which only needs the commit object. Fixes golang#65339
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.21.6 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
No error, git revision information is correctly embeded.
The text was updated successfully, but these errors were encountered: