Commit Graph

38 Commits (7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d)

Author SHA1 Message Date
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
Zettat123 8a2f019d69
Support getting changed files when commit ID is `EmptySHA` (#26290) 1 year ago
wxiaoguang 0df81b9e0d
Add git dashes separator to some "log" and "diff" commands (#23606) 2 years ago
zeripath 5c4075e16d
Fix GetFilesChangedBetween if the file name may be escaped (#23272) 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
zeripath aa2e473991
Set no-tags in git fetch on compare (#20893) 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
delvh 5ca224a789
Allow to mark files in a PR as viewed (#19007) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 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
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath ffc08c1914
Do not read or write git reference files directly (#18079) 3 years ago
99rgosse e0cf3d86c4
Migrated Repository will show modifications when possible (#17191) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath f1e85622da
Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality (#18004) 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
zeripath a889d0cc8c
Add buttons to allow loading of incomplete diffs (#16829) 3 years ago
Norwin f48dce3176
Don't return binary file changes in raw PR diffs by default (#17158) 3 years ago
zeripath 920608e592
Support direct comparison (git diff a..b) as well merge comparison (a...b) (#16635) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
zeripath 66a148e398
Restore detection of branches are equal on compare page (#14586) 4 years ago
zeripath 2f6aadffa8
Git 2.28 no longer permits diff with ... on unrelated branches (#12364) 4 years ago
zeripath 5cb201dc93
Fix numbr of files, total additions, and deletions (#11614) 5 years ago
zeripath 0198bbedc1
Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 5 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 5 years ago
Mura Li 602155df7b Do not fetch all refs (#7797) 5 years ago
zeripath 7ad67109d7
Be more strict with git arguments (#7715) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Mario Lubenka 1608f63e39 Fixes diff on merged pull requests (#7171) 6 years ago
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991) 6 years ago
zeripath 89cc7c646d
Prevent server 500 on compare branches with no common history (#6555) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
Sandro Santilli 44053532bb Serve .patch for pull requests (#3305) 7 years ago
Lunny Xiao 47a7529d96 update code.gitea.io/git (#450) 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git (#94) 8 years ago
Thomas Boerger 1ebb35b988
Added all required dependencies 8 years ago