Skip to content

Conversation

@bradfitz
Copy link
Member

Updates golang#58571
Updates #150

(cherry picked from commit 64af022)

@bradfitz bradfitz requested a review from tomhjp January 28, 2026 17:00
}
}
} else if info.Mode().IsRegular() {
} else if info.Mode().IsRegular() && !useGitHash() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the same logic in cmd/go/internal/modindex/read.go? That does something very similar and references this code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per chat, ignoring for now, as we use https://github.com/tailscale/gomodfs/ and it doesn't affect us at least. But we should do that before upstreaming this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(as gomodfs always has predictable modtimes)

@bradfitz bradfitz force-pushed the bradfitz/git_hash_25_branch branch 2 times, most recently from 4fb143b to 95aa413 Compare January 28, 2026 17:44
…test caching (w/ git)

Updates golang#58571
Updates #150

(cherry picked from commit 64af022)
@bradfitz bradfitz force-pushed the bradfitz/git_hash_25_branch branch from 95aa413 to 485c689 Compare January 28, 2026 17:44
@bradfitz bradfitz merged commit 485c689 into tailscale.go1.25 Jan 28, 2026
2 checks passed
@bradfitz bradfitz deleted the bradfitz/git_hash_25_branch branch January 28, 2026 17:51
bradfitz added a commit to tailscale/tailscale that referenced this pull request Jan 28, 2026
This pulls in tailscale/go#151, which we want to begin experimenting with.

Updates tailscale/go#150

Change-Id: I69aa2631ecf36356430969f423ea3943643a144a
Signed-off-by: Brad Fitzpatrick <[email protected]>
bradfitz added a commit to tailscale/tailscale that referenced this pull request Jan 28, 2026
This pulls in tailscale/go#151, which we want to begin experimenting with.

Updates tailscale/go#150

Change-Id: I69aa2631ecf36356430969f423ea3943643a144a
Signed-off-by: Brad Fitzpatrick <[email protected]>
bradfitz added a commit to tailscale/tailscale that referenced this pull request Jan 28, 2026
This pulls in tailscale/go#151, which we want to begin experimenting with.

Updates tailscale/go#150

Change-Id: I69aa2631ecf36356430969f423ea3943643a144a
Signed-off-by: Brad Fitzpatrick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants