Commit Graph

56 Commits (064f05204c0539d1f92895776dee7f626a628e3b)

Author SHA1 Message Date
wxiaoguang dfa4e5857f
Fix git 2.11 error when checking IsEmpty (again) (#27399) 1 year ago
wxiaoguang caef9f9503
Fix git 2.11 error when checking IsEmpty (#27393) 1 year ago
wxiaoguang c6b92c84fe
Sync repo's IsEmpty status correctly (#26517) 1 year ago
oliverpool 75ea0d5dba
Faster git.GetDivergingCommits (#24482) 2 years ago
wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 2 years ago
wxiaoguang 334c899f7b
Improve git log for debugging (#24095) 2 years ago
Gusted 1cb8d14bf7
Use proxy for pull mirror (#22771) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
Lunny Xiao c29fbc6d23
Hide sensitive content on admin panel progress monitor (#19218) 3 years ago
zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 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
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 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
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
Gusted ff2fd08228
Simplify parameter types (#18006) 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
Alexey 〒erentyev 7e9bd206fd
Fix bundle creation (#17079) 3 years ago
John Olheiser 648464b504
Add bundle download for repository (#14538) 3 years ago
Lunny Xiao f9acad82ca
Add proxy settings and support for migration and webhook (#16704) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
Viktor Yakovchuk 08f4b3f312
Fix 500 Error with branch and tag sharing the same name #15592 (#16040) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
zeripath 511f6138d4
Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792) 4 years ago
zeripath c05a8abc76
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 4 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854) 5 years ago
Lauris BH 43c09134a9
Migrate to go-git/go-git v5.0.0 (#10735) 5 years ago
John Olheiser 15a5c10d33 Variable expansion in repository templates (#9163) 5 years ago
Lunny Xiao 7b7d382b8b Fix datarace on git.GlobalCommandArgs on tests (#9162) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
zeripath ee1d64ddd1
Stop using git count-objects and use raw directory size for repository (#8848) 5 years ago
jaqra 065bbddab9 Fix count for commit graph last page (#8843) 5 years ago
zeripath 5e6a008fba
Add basic repository lfs management (#7199) 5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
zeripath 7ad67109d7
Be more strict with git arguments (#7715) 5 years ago
Lunny Xiao edc94c7041 Monitor all git commands; move blame to git package and replace git as a variable (#6864) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath ce8de35334 Remove local clones & make hooks run on merge/edit/upload (#6672) 6 years ago