mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
This adds a new site setting, batchChanges.autoDeleteBranch, which, when enabled, will have Sourcegraph attempt to delete the branches for any changesets it has created when the changesets are merged or closed. - If a code host supports this natively with a flag on the changeset, great! At any point when we would create or update the properties of a changeset on the code host, we check the setting in site config and make sure to send its updated value along in the payload, ensuring the flag always stays closely synced with the setting on Sourcegraph. - If a code host does not support this natively, at any point when we close or merge a changeset on the code host, we check the setting in site config and, on successful close/merge, we send a follow-up request to delete the branch associated with the changeset. |
||
|---|---|---|
| .. | ||
| explanations | ||
| how-tos | ||
| references | ||
| tutorials | ||
| batch_changes-icon.svg | ||
| CODENOTIFY | ||
| file-icon.svg | ||
| index.md | ||
| quickstart.md | ||