Commit Graph

24 Commits (376fa0d8c49ca8a290ebb328281a56af346f5785)

Author SHA1 Message Date
wxiaoguang 50111c71c3
Refactor legacy strange git operations (#22756) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
Gusted b48cf03717
Remove deadcode (#22245) 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
zeripath 3ccebf7f40
Stop logging CheckPath returns error: context canceled (#21064) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
zeripath 332b2ecd21
Prevent intermittent race in attribute reader close (#19537) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
zeripath 8ddb5490e8
Don't show context cancelled errors in attribute reader (#19006) 3 years ago
zeripath 4482f62a26
Prevent dangling GetAttribute calls (#18754) 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
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
zeripath 3c4724d70e
Add .gitattribute assisted language detection to blame, diff and render (#17590) 3 years ago
wxiaoguang b231d0deab
Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath`, fix the hang of `git cat-file` (#17096) 3 years ago
zeripath 248b96d8a3
Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 3 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234) 4 years ago
6543 bc11caff94
[Vendor] Switch go-version lib (#12719) 4 years ago
zeripath dc2fe9801f Make repository management section handle lfs locks (#8726) 5 years ago