forgejo/modules/git
wxiaoguang 171de4d107
[PORT] Fix git error handling (gitea#32401)
---
Conflict resolution: Trivial, for `repo_attributes.go` move where the
`IsErrCanceledOrKilled` needs to happen because of other changes that
happened in this file.

To add some words to this change: It seems to be mostly simplifying the
error handling of git operations.

(cherry picked from commit e524f63d58900557d7d57fc3bcd19d9facc8b8ee)
2024-11-03 16:47:44 +01:00
..
foreachref
internal
pipeline [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
pushoptions
tests/repos
url
batch.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
batch_reader.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
blame.go
blame_sha256_test.go
blame_test.go
blob.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
blob_test.go
command.go
command_race_test.go
command_test.go
commit.go
commit_info.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
commit_info_test.go
commit_reader.go
commit_sha256_test.go
commit_test.go
diff.go fix: make branch protection work for new branches 2024-10-24 18:44:58 +02:00
diff_test.go
error.go [PORT] Fix git error handling (gitea#32401) 2024-11-03 16:47:44 +01:00
git.go update git book link to v2 (#5503) 2024-10-09 09:28:37 +00:00
git_test.go
grep.go fix(grep): fix git-grep for code search when git version is below 2.38 2024-10-31 15:24:53 +00:00
grep_test.go git-grep: support regexp 2024-09-16 16:20:40 +02:00
hook.go
last_commit_cache.go
log_name_status.go
notes.go
notes_test.go
object_format.go
object_id.go
object_id_test.go
object_signature.go
parse.go
parse_test.go
README.md
ref.go
ref_test.go
remote.go
repo.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
repo_archive.go
repo_attribute.go [PORT] Fix git error handling (gitea#32401) 2024-11-03 16:47:44 +01:00
repo_attribute_test.go
repo_base.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
repo_base_test.go [TESTS] Add test for CatFileBatch(Check) 2024-08-26 04:48:52 +02:00
repo_blame.go
repo_blob_test.go
repo_branch.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
repo_branch_test.go
repo_commit.go fix: make syncronize tags to database handle annoted tags 2024-10-21 16:21:07 +02:00
repo_commit_test.go fix: make syncronize tags to database handle annoted tags 2024-10-21 16:21:07 +02:00
repo_commitgraph.go
repo_compare.go
repo_compare_test.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
repo_language_stats_test.go
repo_object.go
repo_ref.go
repo_ref_test.go
repo_stats.go
repo_stats_test.go
repo_tag.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
repo_tag_test.go
repo_test.go
repo_tree.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
signature.go
signature_test.go
submodule.go
submodule_test.go
tag.go
tag_test.go
tree.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
tree_blob.go
tree_entry.go [PORT] Refactor the usage of batch catfile (gitea#31754) 2024-08-26 03:48:51 +02:00
tree_entry_mode.go
tree_test.go
utils.go
utils_test.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.