1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-27 07:21:51 +01:00
gitea/modules/gitrepo
silverwind 5e9b9b33d1
Clean up Makefile, tests and legacy code (#36638)
This simplifies the Makefile by removing the whole-file wrapping that
creates a tempdir introduced by
https://github.com/go-gitea/gitea/pull/11126. REPO_TEST_DIR is removed
as well.

Also clean up a lot of legacy code: unnecessary XSS test, incorrect test
env init, unused "_old_uid" hack, etc

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-02-19 01:23:32 +00:00
..
archive.go Refactor git command stdio pipe (#36422) 2026-01-22 06:04:26 +00:00
blame_sha256_test.go Move blame to gitrepo (#36161) 2025-12-16 16:14:14 -08:00
blame_test.go Move blame to gitrepo (#36161) 2025-12-16 16:14:14 -08:00
blame.go Refactor git command stdio pipe (#36422) 2026-01-22 06:04:26 +00:00
branch.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
cat_file.go Refactor cat-file batch operations and support --batch-command approach (#35775) 2026-01-08 13:37:36 -08:00
clone.go Move some functions to gitrepo package to reduce RepoPath reference directly (#36126) 2025-12-12 01:15:40 +01:00
command.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
commit_file_test.go Move commit related functions to gitrepo package (#35600) 2025-12-05 00:20:23 +00:00
commit_file.go Refactor git command stdio pipe (#36422) 2026-01-22 06:04:26 +00:00
commit_test.go Move some functions to gitrepo package to reduce RepoPath reference directly (#36126) 2025-12-12 01:15:40 +01:00
commit.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
commitgraph.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 -07:00
compare_test.go Move GetDiverging functions to gitrepo (#35524) 2025-09-26 15:15:42 +00:00
compare.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
config.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
diff.go Refactor git command stdio pipe (#36422) 2026-01-22 06:04:26 +00:00
fetch.go Some refactors about GetMergeBase (#36186) 2026-01-17 11:22:09 -08:00
fsck.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
gitrepo.go Some refactor for repo path (#36251) 2025-12-29 18:49:54 +00:00
hooks.go Don't create duplicated functions for code repositories and wiki repositories (#33924) 2025-03-19 11:17:19 -07:00
main_test.go Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
merge_tree_test.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_tree.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
push.go Use gitrepo's clone and push when possible (#36093) 2025-12-10 09:41:01 -08:00
ref.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
remote.go Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
repo_lock.go Some refactors about GetMergeBase (#36186) 2026-01-17 11:22:09 -08:00
signing.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +00:00
size.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
tag.go Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 2025-03-15 19:48:59 -07:00
url.go Use repo as of renderctx's member rather than a repoPath on metas (#29222) 2024-05-30 07:04:01 +00:00
walk_gogit.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
walk_nogogit.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00