Repository navigation
refactor: remove unnecessary git command wrapper functions - #38531
Merged
Merged
Conversation
wxiaoguang
force-pushed
the
refactor-gitrepo
branch
from
July 19, 2026 08:01
ddda08e to
81754b6
Compare
wxiaoguang
force-pushed
the
refactor-gitrepo
branch
from
July 19, 2026 08:44
6266609 to
f0ade02
Compare
lunny
approved these changes
Jul 19, 2026
bircni
approved these changes
Jul 19, 2026
wxiaoguang
enabled auto-merge (squash)
July 20, 2026 03:04
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jul 21, 2026
* 'main' of https://github.com/go-gitea/gitea: (44 commits) fix(actions): support `matrix` when evaluating workflow `if` expression (go-gitea#38474) feat(repo): prioritize well-known READMEs and optimize discovery (go-gitea#38532) refactor: remove Path field from git.Repository (go-gitea#38552) refactor: make git package handle all git operations (go-gitea#38543) chore(renovate): group all dependency updates into one weekly PR (go-gitea#38547) chore(deps): update dependency @codemirror/lang-markdown to v6.5.1 (go-gitea#38546) fix: revert git clone http redirection forbidden (go-gitea#38530) chore(deps): update dependencies (go-gitea#38538) test(e2e): deterministically wait for event stream in logout propagation test (go-gitea#38535) chore(deps): update python dependencies (go-gitea#38539) chore(deps): update eslint, remove eslint-plugin-sonarjs (go-gitea#38536) refactor: prepare to decouple the "model migration" package and "models" package (go-gitea#38533) refactor: remove unnecessary git command wrapper functions (go-gitea#38531) [skip ci] Updated translations via Crowdin refactor: git repo and relative path handling (go-gitea#38522) refactor: clean up fragile diff render templates, use backend typed structs (go-gitea#38517) fix(actions): coerce workflow_dispatch boolean inputs to native types (go-gitea#38472) refactor: correct git repo design and fix some legacy problems (go-gitea#38512) fix: make the merge box button red if some checks fail (go-gitea#38508) fix: clean up orphaned user-keyed tables in deleteUser (go-gitea#38511) ... # Conflicts: # templates/repo/wiki/revision.tmpl # templates/repo/wiki/view.tmpl
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jul 21, 2026
* main: (44 commits) fix(actions): support `matrix` when evaluating workflow `if` expression (go-gitea#38474) feat(repo): prioritize well-known READMEs and optimize discovery (go-gitea#38532) refactor: remove Path field from git.Repository (go-gitea#38552) refactor: make git package handle all git operations (go-gitea#38543) chore(renovate): group all dependency updates into one weekly PR (go-gitea#38547) chore(deps): update dependency @codemirror/lang-markdown to v6.5.1 (go-gitea#38546) fix: revert git clone http redirection forbidden (go-gitea#38530) chore(deps): update dependencies (go-gitea#38538) test(e2e): deterministically wait for event stream in logout propagation test (go-gitea#38535) chore(deps): update python dependencies (go-gitea#38539) chore(deps): update eslint, remove eslint-plugin-sonarjs (go-gitea#38536) refactor: prepare to decouple the "model migration" package and "models" package (go-gitea#38533) refactor: remove unnecessary git command wrapper functions (go-gitea#38531) [skip ci] Updated translations via Crowdin refactor: git repo and relative path handling (go-gitea#38522) refactor: clean up fragile diff render templates, use backend typed structs (go-gitea#38517) fix(actions): coerce workflow_dispatch boolean inputs to native types (go-gitea#38472) refactor: correct git repo design and fix some legacy problems (go-gitea#38512) fix: make the merge box button red if some checks fail (go-gitea#38508) fix: clean up orphaned user-keyed tables in deleteUser (go-gitea#38511) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed
gitrepo.RunCmd*functions, because gitcmd.Command works with Repository directly.Move some "local filesystem" related function into "localfs.go"
Assisted by AI