forgejo/modules/context
Giteabot 8c6464e39b
Add support for HEAD ref in /src/branch and /src/commit routes (#27384) (#27407)
Backport #27384 by @rbhz

Add support for HEAD in paths:
```
/src/branch/HEAD/README.md
/src/commit/HEAD/README.md
```

Closes #26920

Co-authored-by: Kirill Sorokin <48334247+rbhz@users.noreply.github.com>
2023-10-03 08:13:49 +00:00
..
access_log.go
api.go
api_org.go
api_test.go
base.go
captcha.go
context.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_template.go
context_test.go
csrf.go
org.go
package.go
pagination.go
permission.go
private.go
repo.go
response.go
utils.go
xsrf.go
xsrf_test.go