Commit Graph

315 Commits (71ca131582fff51da614291732ed43b2bf48d8a1)

Author SHA1 Message Date
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
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath 9419dd2b62
Stop logging an error when notes are not found (#18626) 3 years ago
Gusted f87d5ea9ee
Remove go 1.15 support (#18511) 3 years ago
zeripath f7b152f126
Ensure git tag tests and others create test repos in tmpdir (#18447) 3 years ago
Lunny Xiao 401e5c8174
Fix broken when no commits and default branch is not master (#18422) 3 years ago
6543 80adbebbc8
Unexport git.GlobalCommandArgs (#18376) 3 years ago
Gusted c2e13fb763
Fix partial cloning a repo (#18373) 3 years ago
Lunny Xiao 35fdefc1ff
Always use git command but not os.Command (#18363) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
6543 ff00b8688b
Fix NPE on try to get tag reference via API (#18245) 3 years ago
luzpaz af92473920
Fix source typos (#18227) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Gusted 4b3bfd7e89
Enable partial clone by default (#18195) 3 years ago
zeripath ffc08c1914
Do not read or write git reference files directly (#18079) 3 years ago
99rgosse e0cf3d86c4
Migrated Repository will show modifications when possible (#17191) 3 years ago
zeripath 7cc7f0ed75
TestRepository_GetTag intermittently panics due to an NPE (#18043) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath fb5f7791ef
Prevent off-by-one error on comments on newly appended lines (#18029) 3 years ago
zeripath f1e85622da
Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality (#18004) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
zeripath 9e6e1dc950
Improve checkBranchName (#17901) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago