Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giteabot
0d50f27469
Fix archive creating LFS hooks and breaking pull requests ( #28848 ) ( #28851 )
...
Backport #28848 by @brechtvl
When LFS hooks are present in gitea-repositories, operations like git
push for creating a pull request fail. These repositories are not meant
to include LFS files or git push them, that is handled separately. And
so they should not have LFS hooks.
Installing git-lfs on some systems (like Debian Linux) will
automatically set up /etc/gitconfig to create LFS hooks in repositories.
For most git commands in Gitea this is not a problem, either because
they run on a temporary clone or the git command does not create LFS
hooks.
But one case where this happens is git archive for creating repository
archives. To fix that, add a GIT_CONFIG_NOSYSTEM=1 to disable using the
system configuration for that command.
According to a comment, GIT_CONFIG_NOSYSTEM is not used for all git
commands because the system configuration can be intentionally set up
for Gitea to use.
Resolves #19810 , #21148
Co-authored-by: Brecht Van Lommel <brecht@blender.org>
1 year ago
..
foreachref
Use refname:strip-2 instead of refname:short when syncing tags ( #28797 ) ( #28811 )
1 year ago
internal
…
pipeline
Refactor and tidy-up the merge/update branch code ( #22568 )
2 years ago
tests/ repos
Support `.git-blame-ignore-revs` file ( #26395 )
1 year ago
url
…
README.md
…
batch_reader.go
Make git batch operations use parent context timeout instead of default timeout ( #26325 )
2 years ago
blame.go
Read `previous` info from git blame ( #28306 ) ( #28310 )
1 year ago
blame_test.go
Read `previous` info from git blame ( #28306 ) ( #28310 )
1 year ago
blob.go
Fix profile render when the README.md size is larger than 1024 bytes ( #25131 )
2 years ago
blob_gogit.go
…
blob_nogogit.go
…
blob_test.go
…
command.go
Add option to disable ambiguous unicode characters detection ( #28454 ) ( #28499 )
1 year ago
command_race_test.go
…
command_test.go
Improve git log for debugging ( #24095 )
2 years ago
commit.go
Convert git commit summary to valid UTF8. ( #28356 ) ( #28358 )
1 year ago
commit_convert_gogit.go
…
commit_info.go
…
commit_info_gogit.go
Replace `interface{}` with `any` ( #25686 )
2 years ago
commit_info_nogogit.go
…
commit_info_test.go
…
commit_reader.go
…
commit_test.go
Add merge files files to GetCommitFileStatus ( #20515 )
2 years ago
diff.go
…
diff_test.go
…
error.go
…
git.go
Remove duplicated checkinit on git module ( #28824 ) ( #28831 )
1 year ago
git_test.go
Support changing git config through `app.ini`, use `diff.algorithm=histogram` by default ( #24860 )
2 years ago
hook.go
…
last_commit_cache.go
Replace `interface{}` with `any` ( #25686 )
2 years ago
last_commit_cache_gogit.go
…
last_commit_cache_nogogit.go
…
log_name_status.go
Remove redundant nil check in `WalkGitLog` ( #26773 )
2 years ago
notes.go
…
notes_gogit.go
…
notes_nogogit.go
…
notes_test.go
…
parse_gogit.go
…
parse_gogit_test.go
…
parse_nogogit.go
…
parse_nogogit_test.go
…
ref.go
Fix compatible for webhook ref type ( #25195 )
2 years ago
ref_test.go
Use the type RefName for all the needed places and fix pull mirror sync bugs ( #24634 )
2 years ago
remote.go
…
repo.go
Fix git 2.11 error when checking IsEmpty ( #27393 ) ( #27397 )
1 year ago
repo_archive.go
Fix archive creating LFS hooks and breaking pull requests ( #28848 ) ( #28851 )
1 year ago
repo_attribute.go
…
repo_attribute_test.go
Use more specific test methods ( #24265 )
2 years ago
repo_base.go
…
repo_base_gogit.go
…
repo_base_nogogit.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
2 years ago
repo_blame.go
Remove `git.FileBlame` ( #25841 )
2 years ago
repo_blob.go
…
repo_blob_gogit.go
…
repo_blob_nogogit.go
…
repo_blob_test.go
…
repo_branch.go
Use the type RefName for all the needed places and fix pull mirror sync bugs ( #24634 )
2 years ago
repo_branch_gogit.go
Make gogit Repository.GetBranchNames consistent ( #28348 ) ( #28386 )
1 year ago
repo_branch_nogogit.go
…
repo_branch_test.go
…
repo_commit.go
Add -F to commit search to treat keywords as strings ( #28744 ) ( #28748 )
1 year ago
repo_commit_gogit.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_commit_nogogit.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_commit_test.go
Use more specific test methods ( #24265 )
2 years ago
repo_commitgraph.go
…
repo_commitgraph_gogit.go
…
repo_compare.go
Support getting changed files when commit ID is `EmptySHA` ( #26290 )
2 years ago
repo_compare_test.go
Support getting changed files when commit ID is `EmptySHA` ( #26290 )
2 years ago
repo_gpg.go
…
repo_hook.go
…
repo_index.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
2 years ago
repo_language_stats.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_language_stats_gogit.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_language_stats_nogogit.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_language_stats_test.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_object.go
…
repo_ref.go
Show branches and tags that contain a commit ( #25180 )
2 years ago
repo_ref_gogit.go
…
repo_ref_nogogit.go
…
repo_ref_test.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_stats.go
…
repo_stats_test.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_tag.go
Use refname:strip-2 instead of refname:short when syncing tags ( #28797 ) ( #28811 )
1 year ago
repo_tag_gogit.go
…
repo_tag_nogogit.go
…
repo_tag_test.go
Use refname:strip-2 instead of refname:short when syncing tags ( #28797 ) ( #28811 )
1 year ago
repo_test.go
Faster git.GetDivergingCommits ( #24482 )
2 years ago
repo_tree.go
…
repo_tree_gogit.go
…
repo_tree_nogogit.go
…
sha1.go
Support getting changed files when commit ID is `EmptySHA` ( #26290 )
2 years ago
sha1_gogit.go
…
sha1_nogogit.go
…
sha1_test.go
…
signature.go
…
signature_gogit.go
…
signature_nogogit.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
2 years ago
submodule.go
…
submodule_test.go
…
tag.go
…
tag_test.go
…
tree.go
…
tree_blob.go
…
tree_blob_gogit.go
…
tree_blob_nogogit.go
…
tree_entry.go
Remember to attach the parent tree when converting TreeEntry() -> Tree() ( #22902 )
2 years ago
tree_entry_gogit.go
…
tree_entry_mode.go
…
tree_entry_nogogit.go
…
tree_entry_test.go
…
tree_gogit.go
…
tree_nogogit.go
…
utils.go
Replace `interface{}` with `any` ( #25686 )
2 years ago
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.