Commit Graph

17 Commits (edfba99f11e78f189cc483a5f07292d9e6384526)

Author SHA1 Message Date
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
6543 1ebb30e41b
Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 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
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
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath fb5f7791ef
Prevent off-by-one error on comments on newly appended lines (#18029) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Jimmy Praet 3d6cb25e31
Support unprotected file patterns (#16395) 3 years ago
6543 3ef23d5411
Use gitea logging module for git module (#16243) 4 years ago
a1012112796 007fb00c0e
response 404 for diff/patch of a commit that not exist (#15221) 4 years ago
zeripath 3d8b5ad5f3
Fix a couple of CommentAsPatch issues. (#14804) 4 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 5 years ago