gitea/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 Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
tests/repos Fix reading git notes from nested trees (#8026) 2019-09-12 09:14:41 +08:00
blame_test.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
blame.go Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
blob_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
blob.go Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 2019-11-15 10:52:59 +08:00
cache.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
command_test.go Fix nondeterministic behavior (#9341) 2019-12-13 17:03:38 +08:00
command.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
commit_archive.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
commit_info_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
commit_info.go Ensure default gpg settings not nil and found commits have reference to repo (#8604) 2019-10-20 23:26:36 +01:00
commit_reader.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
commit_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
commit.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
error.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
git_test.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
git.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
hook.go fix 500 when edit hook (#8782) 2019-11-02 21:38:11 +08:00
notes_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
notes.go Fix reading git notes from nested trees (#8026) 2019-09-12 09:14:41 +08:00
parse_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
parse.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
ref.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
repo_attribute.go Make repository management section handle lfs locks (#8726) 2019-12-12 21:18:07 +08:00
repo_blame.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_blob_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_blob.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_branch_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_branch.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_commit_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_commit.go Provide Default messages for merges (#9393) 2019-12-30 18:34:11 -05:00
repo_commitgraph.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_compare_test.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
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_gpg.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
repo_hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
repo_index.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_object.go Fixes #7292 - API File Contents bug (#7301) 2019-06-29 16:51:10 -04:00
repo_ref_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_ref.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_stats_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_stats.go Git statistics in Activity tab (#4724) 2019-05-04 15:39:03 +03:00
repo_tag_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_tag.go Strict name matching for Repository.GetTagID() (#8074) 2019-09-04 08:48:17 +03:00
repo_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo_tree.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
repo.go Variable expansion in repository templates (#9163) 2019-11-30 01:54:47 -05:00
sha1.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
signature.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
submodule_test.go Refactor submodule URL parsing (#7100) 2019-06-03 23:11:19 +08:00
submodule.go Refactor submodule URL parsing (#7100) 2019-06-03 23:11:19 +08:00
tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
tree_blob.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
tree_entry_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
tree_entry.go Include "executable" files in the index, as they are not necessarily binary (#7718) 2019-08-02 23:14:50 +08:00
tree.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
utils.go Move mirror sync actions to notification (#9022) 2019-11-24 00:16:59 -05:00

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.