Skip to content

fix(trust): fix :trust command on Windows#36533

Merged
github-actions[bot] merged 1 commit intorelease-0.11from
backport-36509-to-release-0.11
Nov 12, 2025
Merged

fix(trust): fix :trust command on Windows#36533
github-actions[bot] merged 1 commit intorelease-0.11from
backport-36509-to-release-0.11

Conversation

@neovim-backports
Copy link

Description

Backport of #36509 to release-0.11.

`:trust` command calculated SHA-256 on file content reading it as a
text. While it doesn't matter on Unices, on Windows hash was calculated
incorectly. SHA-256 for buffer content was calculated fine though.

After this fix hashes in `%LOCALAPPDATA%/nvim-data/trust` are the same
as in output of `sha256sum -t`.

(cherry picked from commit b15b22f)
@github-actions github-actions bot enabled auto-merge (rebase) November 12, 2025 05:59
@github-actions github-actions bot merged commit 076f799 into release-0.11 Nov 12, 2025
31 checks passed
@github-actions github-actions bot deleted the backport-36509-to-release-0.11 branch November 12, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant