forgejo/models/repo
George Bartolomey 13ca6c14f1
feat: allow changing default branch update style
This commit allows chaning default branch update style through global
and repository settings. The setting affects "Update branch" button
in PR view (button shows when some commits are ahead of master branch).
When default update style is set to "rebase", dropdown button updates branch
by rebase by default. When update style is set to other value, dropdown button
updates branch by merge. Any of these actions may be selected using dropdown
in any case.

Signed-off-by: George Bartolomey <george@bh4.ru>
2024-12-23 18:55:25 +03:00
..
TestSearchRepositoryIDsByCondition fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
archive_download_count.go
archive_download_count_test.go
archiver.go
attachment.go
attachment_test.go
avatar.go
collaboration.go
collaboration_test.go
following_repo.go
following_repo_test.go
fork.go fix: don't show private forks in forks list 2024-11-15 10:59:36 +01:00
fork_test.go
git.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror.go
pushmirror_test.go
redirect.go
redirect_test.go
release.go Trim title before insert/update to database to match the size requirements of database (#32498) 2024-11-17 12:18:56 +01:00
release_test.go
repo.go
repo_flags.go
repo_flags_test.go
repo_indexer.go
repo_list.go fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
repo_list_test.go fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
repo_repository.go
repo_test.go
repo_unit.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
repo_unit_test.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
search.go
star.go
star_test.go
topic.go
topic_test.go
update.go
upload.go
user_repo.go Only query team tables if repository is under org when getting assignees (#32414) 2024-11-16 14:57:11 +01:00
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go