Files
gitea-MIRROR/modules/git
Lunny Xiao 3ce3c1277a refactor: make git.Push take a repository instead of a local path (#40448)
`git.Push` took a raw local path and ran the command with `WithDir`. It
now takes a `RepositoryFacade` and uses `WithRepo`, like the other
repository commands, and `PushFromLocal` wraps its path with
`gitrepo.RepositoryUnmanaged`.

Unmanaged repositories resolve relative paths under the repository root,
so a relative `APP_TEMP_PATH` is now made absolute at load. It already
broke repository auto-init and would otherwise also break wiki and file
edit pushes. No other behavior change.

Assisted-by: Codet:claude
Assisted-by: Claude Code:claude-opus-5-5

---------

Co-authored-by: silverwind <me@silverwind.io>
2026-11-25 00:18:50 +00:00
..
2026-10-24 13:48:19 +00:00
2026-08-05 00:17:07 +08:00
2026-08-05 00:17:07 +08:00
2025-07-30 07:08:59 +00:00