forgejo/routers
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870)
- Update default branch if needed
- Update protected branch if needed
- Update all not merged pull request base branch name
- Rename git branch
- Record this rename work and auto redirect for old branch on ui

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: delvh <dev.lh@web.de>
2021-10-08 19:03:04 +02:00
..
api/v1 API pull's head/base have correct permission (#17214) 2021-10-07 02:03:37 +02:00
common Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
install Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
private refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
init.go Always emit the configuration path (#17036) 2021-09-13 21:24:57 -04:00