0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-07 05:24:48 +01:00
gitea/models/issues
Lunny Xiao 39d51e7c82
Automerge supports deleting branch automatically after merging (#32343)
Resolve #32341 
~Depends on #27151~

- [x] It will display a checkbox of deleting the head branch on the pull
request view page when starting an auto-merge task.
- [x] Add permission check before deleting the branch
- [x] Add delete branch comment for those closing pull requests because
of head branch or base branch was deleted.
- [x] Merge `RetargetChildrenOnMerge` and `AddDeletePRBranchComment`
into `service.DeleteBranch`.
2025-01-10 03:51:03 +08:00
..
assignees_test.go
assignees.go
comment_code.go
comment_list.go
comment_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
comment.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
content_history_test.go
content_history.go
dependency_test.go
dependency.go
issue_index.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_project.go
issue_search.go
issue_stats.go
issue_test.go
issue_update.go Add missed transaction on setmerged (#33079) 2025-01-08 03:16:56 +00:00
issue_user_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go
issue.go Add missed transaction on setmerged (#33079) 2025-01-08 03:16:56 +00:00
label_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
label.go
main_test.go
milestone_list.go
milestone_test.go
milestone.go
pull_list_test.go
pull_list.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
pull_test.go
pull.go Add missed transaction on setmerged (#33079) 2025-01-08 03:16:56 +00:00
reaction.go
review_list.go Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 2025-01-07 10:50:09 +08:00
review_test.go Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 2025-01-07 10:50:09 +08:00
review.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
stopwatch_test.go
stopwatch.go
tracked_time_test.go
tracked_time.go