22 Commits (cb72c901b3250fa47c4b403182a3762685d57a02)

Author SHA1 Message Date
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 2 months ago
Lunny Xiao 198f37e33c
Move updateref and removeref to gitrepo and remove unnecessary open repository (#35511) 3 months ago
wxiaoguang 60246730b5
Remove wrong "git.DefaultContext" (#35364) 4 months ago
Lunny Xiao b8b690feb9
Refactor getpatch/getdiff functions and remove unnecessary fallback (#32817) 12 months ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
Lunny Xiao e84e5db6de
Lazy load object format with command line and don't do it in OpenRepository (#29712) 2 years ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 2 years ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 2 years ago
Zettat123 8a2f019d69
Support getting changed files when commit ID is `EmptySHA` (#26290) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 3 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 4 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 4 years ago
zeripath f7b152f126
Ensure git tag tests and others create test repos in tmpdir (#18447) 4 years ago
zeripath ffc08c1914
Do not read or write git reference files directly (#18079) 4 years ago
99rgosse e0cf3d86c4
Migrated Repository will show modifications when possible (#17191) 4 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 4 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 5 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 6 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 6 years ago
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991) 7 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 7 years ago