Permalink Files In PR Diff #19525
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
GitHub allows users to click a file in a PR diff and copy a permalink to that file, which makes it easy to share a specific file in a PR and/or decorate a PR description.
GitHub appears to create some kind of hash for each file. For example:
https://github.com/go-gitea/gitea/pull/17145/files#diff-23ceed4d2a9f0e4f08ead9fd5b74b481e40e029fd83cd0453f9c0a2edfd53577
This can be extended to adding a permalink to specific lines in the diff, but probably warrants a separate issue.
Screenshots
The text was updated successfully, but these errors were encountered: