detached 5404729

docs(proto): the source branch is deleted after the merge answer

commit
5404729198bb702cecbd86656f36c2a237096c6e
author
brice · · 2026-10-19 13:34 UTC
committer
brice · · 2026-10-19 14:35 UTC
parent
788238f
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
2 files · +10 -6
M gen/ermite/merge_request.pb.go +5 -3
@@ -2016,9 +2016,11 @@ type MergeMergeRequestResponse struct {
20162016 // merged_commit_id set to the new tip of the target branch and merge_mode
20172017 // set to the mode used.
20182018 MergeRequest *MergeRequest `protobuf:"bytes,1,opt,name=merge_request,json=mergeRequest,proto3" json:"merge_request,omitempty"`
2019- // SourceBranchDeleted is true when delete_source_branch was set and the
2020- // branch is gone. It is false when the deletion failed after the merge (the
2021- // branch moved in between, say): the merge stands and the branch is kept.
2019+ // SourceBranchDeleted is true when delete_source_branch was set: the server
2020+ // deletes the branch after answering. The deletion is skipped, and the
2021+ // branch kept, if the branch moved or another open merge request uses it
2022+ // by then; the merge stands either way. Watch reports the deletion with a
2023+ // Pushed event for the source branch.
20222024 SourceBranchDeleted bool `protobuf:"varint,2,opt,name=source_branch_deleted,json=sourceBranchDeleted,proto3" json:"source_branch_deleted,omitempty"`
20232025 unknownFields protoimpl.UnknownFields
20242026 sizeCache protoimpl.SizeCache
@@ -2016,9 +2016,11 @@ type MergeMergeRequestResponse struct {
2016 // merged_commit_id set to the new tip of the target branch and merge_mode2016 // merged_commit_id set to the new tip of the target branch and merge_mode
2017 // set to the mode used.2017 // set to the mode used.
2018 MergeRequest *MergeRequest `protobuf:"bytes,1,opt,name=merge_request,json=mergeRequest,proto3" json:"merge_request,omitempty"`2018 MergeRequest *MergeRequest `protobuf:"bytes,1,opt,name=merge_request,json=mergeRequest,proto3" json:"merge_request,omitempty"`
2019- // SourceBranchDeleted is true when delete_source_branch was set and the2019+ // SourceBranchDeleted is true when delete_source_branch was set: the server
2020- // branch is gone. It is false when the deletion failed after the merge (the2020+ // deletes the branch after answering. The deletion is skipped, and the
2021- // branch moved in between, say): the merge stands and the branch is kept.2021+ // branch kept, if the branch moved or another open merge request uses it
2022+ // by then; the merge stands either way. Watch reports the deletion with a
2023+ // Pushed event for the source branch.
2022 SourceBranchDeleted bool `protobuf:"varint,2,opt,name=source_branch_deleted,json=sourceBranchDeleted,proto3" json:"source_branch_deleted,omitempty"`2024 SourceBranchDeleted bool `protobuf:"varint,2,opt,name=source_branch_deleted,json=sourceBranchDeleted,proto3" json:"source_branch_deleted,omitempty"`
2023 unknownFields protoimpl.UnknownFields2025 unknownFields protoimpl.UnknownFields
2024 sizeCache protoimpl.SizeCache2026 sizeCache protoimpl.SizeCache
M proto/ermite/merge_request.proto +5 -3
@@ -531,9 +531,11 @@ message MergeMergeRequestResponse {
531531 // merged_commit_id set to the new tip of the target branch and merge_mode
532532 // set to the mode used.
533533 MergeRequest merge_request = 1;
534- // SourceBranchDeleted is true when delete_source_branch was set and the
535- // branch is gone. It is false when the deletion failed after the merge (the
536- // branch moved in between, say): the merge stands and the branch is kept.
534+ // SourceBranchDeleted is true when delete_source_branch was set: the server
535+ // deletes the branch after answering. The deletion is skipped, and the
536+ // branch kept, if the branch moved or another open merge request uses it
537+ // by then; the merge stands either way. Watch reports the deletion with a
538+ // Pushed event for the source branch.
537539 bool source_branch_deleted = 2;
538540 }
539541
@@ -531,9 +531,11 @@ message MergeMergeRequestResponse {
531 // merged_commit_id set to the new tip of the target branch and merge_mode531 // merged_commit_id set to the new tip of the target branch and merge_mode
532 // set to the mode used.532 // set to the mode used.
533 MergeRequest merge_request = 1;533 MergeRequest merge_request = 1;
534- // SourceBranchDeleted is true when delete_source_branch was set and the534+ // SourceBranchDeleted is true when delete_source_branch was set: the server
535- // branch is gone. It is false when the deletion failed after the merge (the535+ // deletes the branch after answering. The deletion is skipped, and the
536- // branch moved in between, say): the merge stands and the branch is kept.536+ // branch kept, if the branch moved or another open merge request uses it
537+ // by then; the merge stands either way. Watch reports the deletion with a
538+ // Pushed event for the source branch.
537 bool source_branch_deleted = 2;539 bool source_branch_deleted = 2;
538 }540 }
539 541

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 18

↑↓ moveenter openesc close