Repository navigation
chore: correct two FAQ inventory gaps and stale comments in wt list and config show - #4847
Merged
Merged
Conversation
…nd config show - FAQ temp-file inventory: wt step squash --dry-run also stages into a temporary index (squash.rs, wt.temp_index() under dry_run). - FAQ command inventory: forge CLIs also run for PR/MR lookups (pr:N resolution, wt switch --prs), not only CI status. - list collect module doc: the commit-details SHA list is not deduplicated and also carries remote-branch tips; the map is (short_sha, timestamp, subject) and feeds the pre-skeleton %h fold. - config show: replace a continuation escape with a plain literal (AGENTS.md); rendered text is unchanged. - .typos.toml: drop the ede entry (its hashes lived only in excluded snapshots) and reword the mis comment to the reason it's still needed.
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two FAQ inventories leave out things Worktrunk does, and two comments no longer describe the code next to them. Each fix is the smallest edit that makes the text true. Rendered CLI output is unchanged.
wt step squash --dry-runalso stages into a temporary index (squash.rs), the same waywt step commit --dry-rundoes, but the list didn't name it. AGENTS.md points to this section as the inventory of files Worktrunk creates.pr:N/mr:Nresolution insrc/git/remote_ref/andwt switch --prs.wt listcollect module doc: it called the commit-details SHA list "deduplicated" and listed only worktree HEADs and branch tips. The list is a plain chain that also includes remote-branch tips under--remotes(collect/mod.rs).git log --no-walkcollapses repeated SHAs in its output (checked: three copies of one SHA print one line), so this is a comment fix, not a behavior change. The doc also described the map as(timestamp, subject); it is(short_sha, timestamp, subject), and it feeds the pre-skeleton%hfold as well.config show: one hint used a\string continuation, which AGENTS.md asks to avoid. It is now a plain literal with the same text, and theconfig_show_unmatched_candidate_exe_emits_extra_hintsnapshot still matches..typos.toml: removes theedeentry, which existed only for commit hashes in.snapfiles that are now excluded. Thetypospre-commit hook passes without it. Themisentry is still needed, for prose like "mis-keyed", so only its comment changes.The docs mirrors are regenerated with
test_docs_are_in_sync, which passes, and the 237config_showintegration tests pass. There is no regression test because these are doc and comment edits.Found by the nightly survey.