forgejo/modules/git
Radosław Piliszek f784260633 git-grep: refactor defaults
One method to set them all... or something like that.

The defaults for git-grep options were scattered over the run
function body. This change refactors them into a separate method.
The application of defaults is checked implicitly by existing
tests and linters, and the new approach makes it very easy
to inspect the desired defaults are set.
2024-08-19 14:28:01 +02:00
..
foreachref
internal
pipeline [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
pushoptions fix(hook): ignore unknown push options instead of failing 2024-07-02 21:39:01 +02:00
tests/repos
url Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
batch_reader.go
blame.go
blame_sha256_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
blame_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
blob.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
blob_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
command.go
command_race_test.go
command_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
commit.go
commit_info.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
commit_info_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
commit_reader.go
commit_sha256_test.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
commit_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
diff.go
diff_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
error.go
git.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
git_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
grep.go git-grep: refactor defaults 2024-08-19 14:28:01 +02:00
grep_test.go git-grep: skip binary files 2024-08-11 19:10:23 +02:00
hook.go
last_commit_cache.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
log_name_status.go
notes.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
notes_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
object_format.go Enable unparam linter (#31277) 2024-06-16 13:42:58 +02:00
object_id.go
object_id_test.go
object_signature.go
parse.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
parse_test.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
README.md
ref.go
ref_test.go
remote.go
repo.go
repo_archive.go
repo_attribute.go
repo_attribute_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_base.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_blame.go
repo_blob_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_branch.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_branch_test.go Fix IsObjectExist with gogit (#31790) (tests only) 2024-08-13 09:05:43 +02:00
repo_commit.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_commit_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_commitgraph.go
repo_compare.go
repo_compare_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_gpg.go
repo_hook.go
repo_index.go Fix slow patch checking with commits that add or remove many files (#31548) 2024-07-07 07:33:01 +02:00
repo_language_stats.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_language_stats_test.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_object.go
repo_ref.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_ref_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_stats.go
repo_stats_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_tag.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
repo_tag_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_tree.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
signature.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
signature_test.go
submodule.go
submodule_test.go
tag.go
tag_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
tree.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
tree_blob.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
tree_entry.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02:00
tree_entry_mode.go
tree_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
utils.go
utils_test.go [CHORE] Drop go-git support 2024-08-12 19:11:09 +02: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.