summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/cherry_pick.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove `RequireHighlightJS` field, update plantuml example. (#19615)wxiaoguang2022-05-051-3/+0
|
* Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461)65432022-04-251-1/+1
| | | | | as per https://github.com/go-gitea/gitea/pull/19449#issuecomment-1105283931 pass gitRepo down to GetRawDiff, since its used for main repo and wiki
* Renamed ctx.User to ctx.Doer. (#19161)KN4CK3R2022-03-221-2/+2
| | | | Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix broken cancel button link on patch page (#18718)Lunny Xiao2022-02-141-1/+1
| | | | | | | | | | * Fix broken cacnel button link on patch page * remove treepath="patch" elsewhere too Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net>
* Add apply-patch, basic revert and cherry-pick functionality (#17902)zeripath2022-02-091-0/+189
This code adds a simple endpoint to apply patches to repositories and branches on gitea. This is then used along with the conflicting checking code in #18004 to provide a basic implementation of cherry-pick revert. Now because the buttons necessary for cherry-pick and revert have required us to create a dropdown next to the Browse Source button I've also implemented Create Branch and Create Tag operations. Fix #3880 Fix #17986 Signed-off-by: Andrew Thornton <art27@cantab.net>