Skip to content

Permalink Files In PR Diff #19525

Closed
@kdumontnu

Description

@kdumontnu

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

image

Metadata

Metadata

Assignees

Labels

type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions