Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Let change update correct a request's title and description

12221a79f903723b8388c24ef6e1b850855e43b7 · Keenan Nemetz · 3d ago · parent d1c3b323

Let change update correct a request's title and description

The metadata writer already replaces a request's prose without moving the
base, head, or approvals, and it works after a request closes or merges.
Expose that through --title and -m/-F, mirroring issue edit, and document
the command. The new test holds the command to the metadata rule: an
approval stays bound to the same commit across a prose edit.

docs/change-requests.md +15

@@ -108,6 +108,21 @@ lost merge permission, or a conflict cancels that wait.
108 108 See [Approvals and combined results](reference/change-requests.md#approvals-and-combined-results)
109 109 for the exact invalidation and merge rules.
110 110
111 ## Correct the title or description
112
113 The title and description are prose, not what a review names: an approval names
114 its base and head. Fix either one without starting the review over, including on
115 a request that has already closed or merged:
116
117 ```sh
118 vole change update 43 --title "Handle an empty search index"
119 vole change update 43 -m "Corrected explanation, same reviewed commit."
120 vole change update 43 -F notes.md
121 ```
122
123 `--title` replaces the title; `-m` or `-F` replaces the description. Both leave
124 the base, the head, and any approval untouched.
125
111 126 ## Link issues to a change
112 127
113 128 A change's `closes:` metadata, not prose such as `Fixes #42`, closes issues when