Commit Graph

67 Commits (fc641b3a28300e13c822140556eca8d00f2b5196)

Author SHA1 Message Date
wxiaoguang 9c08637eae
Make "sync branch" also sync object format and add tests (#30878) 7 months ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 7 months ago
wxiaoguang 21151474e3
Fix loadOneBranch panic (#29938) 8 months ago
wxiaoguang 1ef87773b1
Refactor modules/git global variables (#29376) 9 months ago
wxiaoguang a24e1da7e9
Refactor parseSignatureFromCommitLine (#29054) 10 months ago
John Olheiser 76bbad4e74
Check for sha256 support to use --object-format flag (#28928) 10 months ago
Adam Majer d68a613ba8
Add support for sha256 repositories (#23894) 10 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
wxiaoguang 9947af639c
Only use SHA256 feature when git >= 2.42 (#28466) 12 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 months ago
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