1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/modules/git
Mario Lubenka f92a0b68fe Bugfix for image compare and minor improvements to image compare (#8289)
* Resolve error when comparing images

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Check blob existence instead of git-ls when checking if file exists

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show file metadata also when a file was newly added

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes error in commit view

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Excludes assigning path and image infos for compare routers to service package

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes nil default and fixes import order

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comments

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves methods for assigning compare data to context into repo router package

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show image compare for deleted images as well. Simplify check if image should be displayed

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-10-04 15:58:54 -04: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 Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
blob_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
blob.go Fixes #7292 - API File Contents bug (#7301) 2019-06-29 16:51:10 -04: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 move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
command.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
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 Fix empty commits now showing in repo overview (#7521) 2019-07-22 15:03:15 +03:00
commit_info.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +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 Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
error.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
git_test.go Only check and config git on web subcommand but not others (#7236) 2019-06-19 19:53:37 +03:00
git.go Support git.PATH entry in app.ini (#6772) 2019-07-07 03:26:56 -04:00
hook.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
notes_test.go Fix reading git notes from nested trees (#8026) 2019-09-12 09:14:41 +08: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_blame.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_blob_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
repo_blob.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_branch_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
repo_branch.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_commit_test.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_commit.go Search Commits via Commit Hash (#7400) 2019-09-02 19:38:04 -04:00
repo_commitgraph.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_compare_test.go Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
repo_compare.go Do not fetch all refs (#7797) 2019-08-13 11:30:44 +03: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 Show git-notes (#6984) 2019-05-24 10:52:05 +03:00
repo_ref.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_stats_test.go Added missing error checks in tests (#7554) 2019-07-23 20:28:43 +01:00
repo_stats.go Git statistics in Activity tab (#4724) 2019-05-04 15:39:03 +03:00
repo_tag_test.go Strict name matching for Repository.GetTagID() (#8074) 2019-09-04 08:48:17 +03:00
repo_tag.go Strict name matching for Repository.GetTagID() (#8074) 2019-09-04 08:48:17 +03:00
repo_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
repo_tree.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04: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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08: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 Add golangci (#6418) 2019-06-12 15:41:28 -04: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.