-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Add support for HEAD ref in /src/branch and /src/commit routes #27384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It looks strange.
|
It's following Github's routes which is using HEAD. |
Thanks, I read through #26920 again, and I can see some details have been discussed there. Since GitHub has used |
Maybe we should also migrate to single |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works nicely.
…tea#27384) Add support for HEAD in paths: ``` /src/branch/HEAD/README.md /src/commit/HEAD/README.md ``` Closes go-gitea#26920
… (#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 <[email protected]>
Add support for HEAD in paths:
Closes #26920