You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
wxiaoguang 50111c71c3
Refactor legacy strange git operations (#22756)
During the refactoring of the git module, I found there were some
strange operations. This PR tries to fix 2 of them

1. The empty argument `--` in repo_attribute.go, which was introduced by
#16773. It seems unnecessary because nothing else would be added later.
2. The complex git service logic in repo/http.go. 
* Before: the `hasAccess` only allow `service == "upload-pack" ||
service == "receive-pack"`
* After: unrelated code is removed. No need to call ToTrustedCmdArgs
anymore.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
..
api Add Chef package registry (#22554) 1 year ago
common Support disabling database auto migration (#22053) 2 years ago
install fix: update settings table on install (#22326) 1 year ago
private Implement actions (#21937) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Refactor legacy strange git operations (#22756) 1 year ago
init.go Implement actions (#21937) 1 year ago