gitea/models/repo
Chris Copeland 47b5965862
Add merge style `fast-forward-only` ()
With this option, it is possible to require a linear commit history with
the following benefits over the next best option `Rebase+fast-forward`:
The original commits continue existing, with the original signatures
continuing to stay valid instead of being rewritten, there is no merge
commit, and reverting commits becomes easier.

Closes 
..
archiver.go Add support for sha256 repositories ()
attachment.go More refactoring of `db.DefaultContext` ()
attachment_test.go More refactoring of `db.DefaultContext` ()
avatar.go Penultimate round of `db.DefaultContext` refactor ()
collaboration.go Move more functions to db.Find ()
collaboration_test.go Move more functions to db.Find ()
fork.go Move more functions to db.Find ()
fork_test.go refactor some functions to support ctx as first parameter ()
git.go Add merge style `fast-forward-only` ()
issue.go Rename almost all Ctx functions ()
language_stats.go Penultimate round of `db.DefaultContext` refactor ()
main_test.go make writing main test easier ()
mirror.go More `db.DefaultContext` refactor ()
pushmirror.go Don't run push mirrors for archived repos ()
pushmirror_test.go Refactor deletion ()
redirect.go Final round of `db.DefaultContext` refactor ()
redirect_test.go Final round of `db.DefaultContext` refactor ()
release.go Add support for sha256 repositories ()
release_test.go Another round of `db.DefaultContext` refactor ()
repo.go Simplify how git repositories are opened ()
repo_indexer.go Add support for sha256 repositories ()
repo_list.go Restricted users only see repos in orgs which their team was assigned to ()
repo_list_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org ()
repo_test.go Refactor SSH clone URL generation code ()
repo_unit.go Add merge style `fast-forward-only` ()
repo_unit_test.go add disable workflow feature ()
search.go Split "modules/context.go" to separate files ()
star.go More refactoring of `db.DefaultContext` ()
star_test.go More refactoring of `db.DefaultContext` ()
topic.go Fix non-alphabetic sorting of repo topics ()
topic_test.go Next round of `db.DefaultContext` refactor ()
update.go Move some repository transfer functions to service layer ()
upload.go Refactor deletion ()
user_repo.go Refactor authors dropdown (send get request from frontend to avoid long wait time) ()
user_repo_test.go Implement FSFE REUSE for golang files ()
watch.go Refactor deletion ()
watch_test.go Replace more db.DefaultContext ()
wiki.go Implement FSFE REUSE for golang files ()
wiki_test.go Implement FSFE REUSE for golang files ()