diff --git a/README.md b/README.md
index 44d605e..b0ac4bc 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ CLI auth config defaults to:
## Web UI
-The web UI is intentionally minimal and server-rendered. It supports repository search, user profile pages with public repositories, login/register/logout, repository creation, branch selection, a branches page for branch creation/deletion, selected-branch latest commit and commit count status, commit history pages, single commit pages with limited diff rendering, repository file browsing, Markdown rendering, image rendering for common image files, plain-text file viewing, simple textarea-based file editing for users with write access, pull request list/create/view/comment/close/merge workflows, and forking public repositories. Private repositories cannot be forked. Branch renaming is intentionally unsupported in both the API and web UI.
+The web UI is intentionally minimal and server-rendered. It supports repository search, user profile pages with public repositories, login/register/logout, repository creation, branch selection, a branches page for branch creation/deletion, selected-branch latest commit and commit count status, commit history pages, single commit pages with limited diff rendering, repository file browsing, Markdown rendering, image rendering for common image files, plain-text file viewing, simple textarea-based file editing with commit messages for users with write access, pull request list/create/view/comment/close/merge workflows, and forking public repositories. Private repositories cannot be forked. Branch renaming is intentionally unsupported in both the API and web UI.
## Development
diff --git a/internal/app/web.go b/internal/app/web.go
index 0e6e538..240c5d0 100644
--- a/internal/app/web.go
+++ b/internal/app/web.go
@@ -75,10 +75,12 @@ type webBlobData struct {
}
type webEditData struct {
- Repo Repository
- Ref string
- Path string
- Content string
+ Repo Repository
+ Ref string
+ Path string
+ Content string
+ CommitMessage string
+ CommitDescription string
}
type webTreeEntry struct {
@@ -337,6 +339,9 @@ var webTemplates = template.Must(template.New("web").Funcs(template.FuncMap{