0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 14:47:20 +01:00
gitea/routers/api/v1/repo
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177)
* Allow custom default merge message with .gitea/MERGE_MESSAGE_<merge_style>_TEMPLATE.md

* Some improvements

* Follow some advices

* Fix bug

* Fix bug

* Fix lint

* Fix close comment

* Fix test

* Fix and docs

* Improve codes

* Update docs and remove unnecessary variables

* return error for GetDefaultMergeMessage

* Fix test

* improve code

* ignore unknow unit type

* return error for GetDefaultMergeMessage

* Update services/pull/merge.go

* Some improvements

* Follow some advices

* Fix bug

* Fix lint

* Improve codes

* Update docs and remove unnecessary variables

* return error for GetDefaultMergeMessage

* improve code

* Handle deleted HeadRepo in GetDefaultMergeMessage

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix test

* Fix test

Co-authored-by: zeripath <art27@cantab.net>
2022-05-08 20:32:45 +08:00
..
blob.go
branch.go Don't error when branch's commit doesn't exist (#19547) 2022-04-29 16:44:40 +08:00
collaborators.go Add API to query collaborators permission for a repository (#18761) 2022-04-29 14:24:38 +02:00
commits.go Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461) 2022-04-25 20:45:18 +02:00
file.go Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_comment.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go
label.go
language.go Simplify loops to copy (#19569) 2022-05-01 01:53:56 +02:00
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
pull_review.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
pull.go Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2022-05-08 20:32:45 +08:00
release_attachment.go
release_tags.go
release.go
repo_test.go
repo.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go