You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
赵智超 0903b1ac8c
Add push commits history comment on PR time-line (#11167)
* 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>
4 years ago
..
pipeline Add basic repository lfs management (#7199) 5 years ago
tests/repos Fix reading git notes from nested trees (#8026) 5 years ago
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
blame.go Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
blame_test.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 5 years ago
blob.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
blob_test.go Add Close() method to gogitRepository (#8901) 5 years ago
cache.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
command.go Refactor Cron and merge dashboard tasks (#10745) 4 years ago
command_test.go Fix nondeterministic behavior (#9341) 5 years ago
commit.go Add push commits history comment on PR time-line (#11167) 4 years ago
commit_archive.go Make archive prefixing configurable with a global setting (#9943) 4 years ago
commit_info.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
commit_info_test.go Add gitea-vet (#10948) 4 years ago
commit_reader.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
commit_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
diff.go Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 4 years ago
diff_test.go Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 4 years ago
error.go Handle push rejection in branch and upload (#10854) 4 years ago
git.go Refactor Cron and merge dashboard tasks (#10745) 4 years ago
git_test.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
hook.go fix 500 when edit hook (#8782) 5 years ago
notes.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
notes_test.go Add Close() method to gogitRepository (#8901) 5 years ago
parse.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
parse_test.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
ref.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo.go Handle push rejection in branch and upload (#10854) 4 years ago
repo_attribute.go Make repository management section handle lfs locks (#8726) 5 years ago
repo_blame.go Removed unnecessary conversions (#7557) 5 years ago
repo_blob.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
repo_blob_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_branch.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
repo_branch_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_commit.go Add push commits history comment on PR time-line (#11167) 4 years ago
repo_commit_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_commitgraph.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
repo_compare.go Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 4 years ago
repo_compare_test.go Remove SavePatch and generate patches on the fly (#9302) 5 years ago
repo_gpg.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
repo_hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_index.go Be more strict with git arguments (#7715) 5 years ago
repo_language_stats.go Migrate to go-enry new version (#10906) 4 years ago
repo_object.go Fixes #7292 - API File Contents bug (#7301) 5 years ago
repo_ref.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
repo_ref_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_stats.go Add top author stats to activity page (#9615) 5 years ago
repo_stats_test.go Add top author stats to activity page (#9615) 5 years ago
repo_tag.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
repo_tag_test.go [API] enable paggination for ListRepoTags (#10454) 4 years ago
repo_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_tree.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
sha1.go [API] Get a single commit via Ref (#10915) 4 years ago
signature.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
submodule.go Manage port in submodule refurl (#11305) 4 years ago
submodule_test.go Fix submodule paths when AppSubUrl is not root (#11098) 4 years ago
tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 5 years ago
tree.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
tree_blob.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
tree_entry.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
tree_entry_test.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
utils.go Fix ref links in issue overviews for tags (#8742) 4 years ago
utils_test.go Fix ref links in issue overviews for tags (#8742) 4 years ago

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.