gitea/modules/git
wxiaoguang 4734d43e14
Support repo code search without setting up an indexer (#29998)
By using git's ability, end users (especially small instance users) do
not need to enable the indexer, they could also benefit from the code
searching feature.

Fix #29996


![image](https://github.com/go-gitea/gitea/assets/2114189/11b7e458-88a4-480d-b4d7-72ee59406dd1)


![image](https://github.com/go-gitea/gitea/assets/2114189/0fe777d5-c95c-4288-a818-0427680805b6)

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-03-24 17:05:00 +01:00
..
foreachref Use refname:strip-2 instead of refname:short when syncing tags (#28797) 2024-01-16 08:13:07 +01:00
internal
pipeline
tests/repos
url
attribute.go
batch_reader.go
blame_sha256_test.go
blame_test.go
blame.go
blob_gogit.go
blob_nogogit.go Do not double close reader (#29354) 2024-02-24 11:45:59 +00:00
blob_test.go
blob.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2023-06-13 09:02:25 +00:00
command_race_test.go
command_test.go
command.go
commit_convert_gogit.go
commit_info_gogit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
commit_info_nogogit.go
commit_info_test.go
commit_info.go
commit_reader.go
commit_sha256_test.go
commit_test.go
commit.go
diff_test.go
diff.go
error.go
git_test.go
git.go
grep_test.go Support repo code search without setting up an indexer (#29998) 2024-03-24 17:05:00 +01:00
grep.go
hook.go
last_commit_cache_gogit.go
last_commit_cache_nogogit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
last_commit_cache.go
log_name_status.go
notes_gogit.go
notes_nogogit.go
notes_test.go
notes.go
object_format.go
object_id_gogit.go
object_id_test.go
object_id.go
parse_gogit_test.go
parse_gogit.go
parse_nogogit_test.go
parse_nogogit.go
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
ref_test.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
ref.go
remote.go
repo_archive.go
repo_attribute_test.go
repo_attribute.go Refactor git attributes (#29356) 2024-02-24 18:46:49 +00:00
repo_base_gogit.go
repo_base_nogogit.go
repo_base.go
repo_blame.go
repo_blob_gogit.go
repo_blob_nogogit.go
repo_blob_test.go
repo_blob.go
repo_branch_gogit.go
repo_branch_nogogit.go
repo_branch_test.go
repo_branch.go
repo_commit_gogit.go
repo_commit_nogogit.go
repo_commit_test.go
repo_commit.go Lazy load object format with command line and don't do it in OpenRepository (#29712) 2024-03-12 04:21:27 +00:00
repo_commitgraph_gogit.go
repo_commitgraph.go
repo_compare_test.go
repo_compare.go
repo_gpg.go
repo_hook.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_index.go
repo_language_stats_gogit.go Refactor git attributes (#29356) 2024-02-24 18:46:49 +00:00
repo_language_stats_nogogit.go
repo_language_stats_test.go
repo_language_stats.go
repo_object.go
repo_ref_gogit.go
repo_ref_nogogit.go
repo_ref_test.go
repo_ref.go
repo_stats_test.go
repo_stats.go Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
repo_tag_gogit.go
repo_tag_nogogit.go Discard unread data of git cat-file (#29297) 2024-02-22 03:48:19 +00:00
repo_tag_test.go Lazy load object format with command line and don't do it in OpenRepository (#29712) 2024-03-12 04:21:27 +00:00
repo_tag.go
repo_test.go
repo_tree_gogit.go
repo_tree_nogogit.go
repo_tree.go
repo.go
signature_gogit.go
signature_nogogit.go
signature_test.go
signature.go
submodule_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
submodule.go
tag_test.go
tag.go
tree_blob_gogit.go
tree_blob_nogogit.go
tree_blob.go
tree_entry_gogit.go
tree_entry_mode.go
tree_entry_nogogit.go
tree_entry_test.go
tree_entry.go
tree_gogit.go
tree_nogogit.go
tree_test.go Discard unread data of git cat-file (#29297) 2024-02-22 03:48:19 +00:00
tree.go
utils.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00: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.