wxiaoguang
dac41a124f
fix!: raise git required version to 2.13 ( #37996 )
...
format `lstrip=2` is only supported in git >= 2.13
https://git-scm.com/docs/git-for-each-ref/2.13.7
ref: #37994
Co-authored-by: Giteabot <teabot@gitea.io>
2026-06-04 13:56:16 +00:00
Lunny Xiao
61b1a39efe
chore: Move import path from code.gitea.io/gitea to gitea.dev ( #37873 )
2026-05-26 15:49:31 -07:00
Lunny Xiao
69f5ee970c
Move some functions to gitrepo package ( #35543 )
...
Refactor Git command functions to use WithXXX methods instead of
exposing RunOpts.
This change simplifies reuse across gitrepo and improves consistency,
encapsulation, and maintainability of command options.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-07 17:06:51 +08:00
Lunny Xiao
9332ff291b
Move git command to git/gitcmd ( #35483 )
...
The name cmd is already used in many places and may cause conflicts, so
I chose `gitcmd` instead to minimize potential naming conflicts.
2025-09-15 23:33:12 -07:00
wxiaoguang
60246730b5
Remove wrong "git.DefaultContext" ( #35364 )
2025-08-27 16:31:21 +00:00
TheFox0x7
ae3a18e01a
Remove context from git struct ( #33793 )
...
Argument is moved from struct init in command run, which lets us remove
context from struct.
2025-03-04 11:56:11 -08:00
Lunny Xiao
33850a83fe
Fix submodule parsing ( #32571 )
...
Fix #32568 , parse `.gitmodules` correctly
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-20 19:26:12 +00:00