Skip to content

Conversation

@melver
Copy link
Collaborator

@melver melver commented Jun 6, 2025

This partially reverts commit 43f51a0 to restore vcs.TreeLink, and html.SetGlobSearchPath.

This broke internal code.

tarasmadan
tarasmadan previously approved these changes Jun 6, 2025
Copy link
Collaborator

@tarasmadan tarasmadan left a comment

Choose a reason for hiding this comment

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

Please check whether we can restore only 10 lines.

@melver melver changed the title Revert "all: delete dead code" Partially revert "all: delete dead code" Jun 6, 2025
@melver melver requested a review from tarasmadan June 6, 2025 16:06
@melver melver enabled auto-merge June 6, 2025 16:06
tarasmadan
tarasmadan previously approved these changes Jun 6, 2025
Copy link
Collaborator

@tarasmadan tarasmadan left a comment

Choose a reason for hiding this comment

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

Could you please also comment these functions to increase thein survival probability?

@melver
Copy link
Collaborator Author

melver commented Jun 6, 2025

Could you please also comment these functions to increase thein survival probability?

Best would be to mark these as "used", but I don't know a way to do that. Any comments here may be ignored by another auto-dead-code-elimination attempt. I can add "Used externally - do not remove"?

@tarasmadan
Copy link
Collaborator

It is asking you to also rename the commit.

@melver melver changed the title Partially revert "all: delete dead code" restore vcs.TreeLink, and html.SetGlobSearchPath Jun 6, 2025
@melver melver changed the title restore vcs.TreeLink, and html.SetGlobSearchPath restore vcs.TreeLink and html.SetGlobSearchPath Jun 6, 2025
This partially reverts commit 43f51a0
to restore vcs.TreeLink and html.SetGlobSearchPath.

This broke internal code.
@melver melver changed the title restore vcs.TreeLink and html.SetGlobSearchPath pkg: restore vcs.TreeLink and html.SetGlobSearchPath Jun 6, 2025
@melver melver added this pull request to the merge queue Jun 6, 2025
Merged via the queue into google:master with commit 4826c28 Jun 6, 2025
17 checks passed
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