Commit Graph

339 Commits (5933f04094df2baa7e47d3d4372ad2fdfa2b6207)

Author SHA1 Message Date
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
zeripath c722a26e7e
Set uploadpack.allowFilter etc on gitea serv to enable partial clones with ssh (#20902) 2 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
zeripath aa2e473991
Set no-tags in git fetch on compare (#20893) 2 years ago
zeripath 58a4407acb
Remove follow from commits by file (#20765) 2 years ago
wxiaoguang 75d96f4a02
Refactor legacy git init (#20376) 2 years ago
parnic 27789908d8
Use request timeout for git service rpc (#20689) 2 years ago
Gusted 692707f145
Add latest commit's SHA to content response (#20398) 2 years ago
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444) 2 years ago
wxiaoguang fee0e4dbea
Remove confusing TrimPrefix(... git.BranchPrefix) (#20369) 2 years ago
silverwind 7d20c8323a
Fix commit status icon when in subdirectory (#20285) 2 years ago
zeripath fe09ee564d
Prevent context deadline error propagation in GetCommitsInfo (#20346) 2 years ago
wxiaoguang 496b8e3990
Use git.HOME_PATH for Git HOME directory (#20114) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
wxiaoguang 05a74e6e22
use quoted regexp instead of git fixed-value (#20029) 2 years ago
zeripath ea9997a9dd
Add fetch.writeCommitGraph to gitconfig (#20006) 2 years ago
singuliere a036507204
gitconfig: set safe.directory = * (#19870) 2 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
Lunny Xiao ce3dd04c63
Fix some mirror bugs (#18649) 2 years ago
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) (#19934) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
Lunny Xiao dbe415fb91
Only log non ErrNotExist errors in git.GetNote (#19884) 2 years ago
zeripath 1d04e8641d
Set Setpgid on child git processes (#19865) 2 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
delvh 5ca224a789
Allow to mark files in a PR as viewed (#19007) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
wxiaoguang c18d8d6968
Remove legacy `+build:` constraint (#19582) 3 years ago
wxiaoguang 509d811243
Upgrade required git version to 2.0 (#19577) 3 years ago
zeripath 332b2ecd21
Prevent intermittent race in attribute reader close (#19537) 3 years ago
6543 1ebb30e41b
Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461) 3 years ago
zeripath 0dcc74a8a7
Prevent dangling cat-file calls (goroutine alternative) (#19454) 3 years ago
zeripath a7f0ce6207
Add uploadpack.allowAnySHA1InWant to allow --filter=blob:none with older git clients (#19430) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
Peter Gardfjäll e28cc79c92
Improve sync performance for pull-mirrors (#19125) 3 years ago
wxiaoguang b877504b03
Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath 889a8c268c
Use full output of git show-ref --tags to get tags for PushUpdateAddTag (#19235) 3 years ago
Lunny Xiao c29fbc6d23
Hide sensitive content on admin panel progress monitor (#19218) 3 years ago
zeripath 41b60d94db
Do not include global arguments in process manager (#19226) 3 years ago
zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 3 years ago
techknowlogick 0b15a729cf
rm .sample hooks which aren't used (#19101) 3 years ago
zeripath 8ddb5490e8
Don't show context cancelled errors in attribute reader (#19006) 3 years ago
6543 efd10f1ab4
git backend ignore replace objects (#18979) 3 years ago
zeripath 4482f62a26
Prevent dangling GetAttribute calls (#18754) 3 years ago
Lunny Xiao 1b1658d887
Fix isempty detection of git repository (#18746) 3 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 3 years ago
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902) 3 years ago