gitea/modules/git
赵智超 0903b1ac8c
Add push commits history comment on PR time-line ()
* Add push commits history comment on PR time-line
* Add notify by email and ui of this comment type also

Signed-off-by: a1012112796 <1012112796@qq.com>

* Add migrations for IsForcePush
* fix wrong force-push judgement
* Apply suggestions from code review
* Remove commit number check
* add own notify fun
* fix some typo

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* fix lint

* fix style again, I forgot something before

* Change email notify way

* fix api

* add number check if It's force-push

* Add repo commit link fuction
remove unnecessary check
skip show push commits comment which not have commits alive

* Update issue_comment.go

* Apply suggestions from code review

Co-authored-by: mrsdizzie <info@mrsdizzie.com>

* Apply suggestions from code review

* fix ui view

Co-authored-by: silverwind <me@silverwind.io>

* fix height

* remove unnecessary style define

* simplify GetBranchName

* Apply suggestions from code review

* save commit ids and isForce push by json
* simplify GetBranchName

* fix bug

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
..
pipeline Add basic repository lfs management ()
tests/repos Fix reading git notes from nested trees ()
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
blame.go Graceful: Cancel Process on monitor pages & HammerTime ()
blame_test.go Monitor all git commands; move blame to git package and replace git as a variable ()
blob.go Migrate to go-git/go-git v5.0.0 ()
blob_test.go Add Close() method to gogitRepository ()
cache.go Migrate to go-git/go-git v5.0.0 ()
command.go Refactor Cron and merge dashboard tasks ()
command_test.go Fix nondeterministic behavior ()
commit.go Add push commits history comment on PR time-line ()
commit_archive.go Make archive prefixing configurable with a global setting ()
commit_info.go Migrate to go-git/go-git v5.0.0 ()
commit_info_test.go Add gitea-vet ()
commit_reader.go Migrate to go-git/go-git v5.0.0 ()
commit_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
diff.go Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments ()
diff_test.go Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments ()
error.go Handle push rejection in branch and upload ()
git.go Refactor Cron and merge dashboard tasks ()
git_test.go Graceful: Xorm, RepoIndexer, Cron and Others ()
hook.go fix 500 when edit hook ()
notes.go Migrate to go-git/go-git v5.0.0 ()
notes_test.go Add Close() method to gogitRepository ()
parse.go Migrate to go-git/go-git v5.0.0 ()
parse_test.go Migrate to go-git/go-git v5.0.0 ()
ref.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
repo.go Handle push rejection in branch and upload ()
repo_attribute.go Make repository management section handle lfs locks ()
repo_blame.go Removed unnecessary conversions ()
repo_blob.go Migrate to go-git/go-git v5.0.0 ()
repo_blob_test.go Add Close() method to gogitRepository ()
repo_branch.go Migrate to go-git/go-git v5.0.0 ()
repo_branch_test.go Add Close() method to gogitRepository ()
repo_commit.go Add push commits history comment on PR time-line ()
repo_commit_test.go Add Close() method to gogitRepository ()
repo_commitgraph.go Migrate to go-git/go-git v5.0.0 ()
repo_compare.go Allow compare page to look up base, head, own-fork, forkbase-of-head ()
repo_compare_test.go Remove SavePatch and generate patches on the fly ()
repo_gpg.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()
repo_hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
repo_index.go Be more strict with git arguments ()
repo_language_stats.go Migrate to go-enry new version ()
repo_object.go Fixes - API File Contents bug ()
repo_ref.go Migrate to go-git/go-git v5.0.0 ()
repo_ref_test.go Add Close() method to gogitRepository ()
repo_stats.go Add top author stats to activity page ()
repo_stats_test.go Add top author stats to activity page ()
repo_tag.go Migrate to go-git/go-git v5.0.0 ()
repo_tag_test.go [API] enable paggination for ListRepoTags ()
repo_test.go Add Close() method to gogitRepository ()
repo_tree.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()
sha1.go [API] Get a single commit via Ref ()
signature.go Migrate to go-git/go-git v5.0.0 ()
submodule.go Manage port in submodule refurl ()
submodule_test.go Fix submodule paths when AppSubUrl is not root ()
tag.go Fixes - Adds the /git/tags API endpoint ()
tree.go Migrate to go-git/go-git v5.0.0 ()
tree_blob.go Migrate to go-git/go-git v5.0.0 ()
tree_entry.go Migrate to go-git/go-git v5.0.0 ()
tree_entry_test.go Migrate to go-git/go-git v5.0.0 ()
utils.go Fix ref links in issue overviews for tags ()
utils_test.go Fix ref links in issue overviews for tags ()

README.md

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.