forgejo/modules/git
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708)
* Add require signed commit for protected branch

* Fix fmt

* Make editor show if they will be signed

* bugfix

* Add basic merge check and better information for CRUD

* linting comment

* Add descriptors to merge signing

* Slight refactor

* Slight improvement to appearances

* Handle Merge API

* manage CRUD API

* Move error to error.go

* Remove fix to delete.go

* prep for merge

* need to tolerate \r\n in message

* check protected branch before trying to load it

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* fix commit-reader

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-01-15 09:32:57 +01:00
..
pipeline
tests/repos
blame.go
blame_test.go
blob.go
blob_test.go
cache.go
command.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
command_test.go
commit.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
commit_archive.go
commit_info.go
commit_info_test.go
commit_reader.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
commit_test.go
error.go
git.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
git_test.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
hook.go
notes.go
notes_test.go
parse.go
parse_test.go
README.md
ref.go
repo.go
repo_attribute.go
repo_blame.go
repo_blob.go
repo_blob_test.go
repo_branch.go
repo_branch_test.go
repo_commit.go Provide Default messages for merges (#9393) 2019-12-30 18:34:11 -05:00
repo_commit_test.go
repo_commitgraph.go
repo_compare.go Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 2020-01-09 01:47:45 +00:00
repo_compare_test.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
repo_gpg.go
repo_hook.go
repo_index.go
repo_object.go
repo_ref.go
repo_ref_test.go
repo_stats.go
repo_stats_test.go
repo_tag.go
repo_tag_test.go
repo_test.go
repo_tree.go
sha1.go
signature.go
submodule.go
submodule_test.go
tag.go
tree.go
tree_blob.go
tree_entry.go
tree_entry_test.go
utils.go

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.