Skip to content

Add fix-view-file-link-in-pr feature - #2529

Merged
fregante merged 4 commits into
masterfrom
fix-view-file-link-in-pr
Nov 18, 2019
Merged

fregante merged 4 commits into
masterfrom
fix-view-file-link-in-pr

Conversation

@fregante

@fregante fregante commented Nov 11, 2019 •

Copy link
Copy Markdown
Member

Closes #2260

Test

This feature only works on open PRs.

The "View file" (and "Raw file") links should point to the branch, not the commit

The "View file" (and "Raw file") links should NOT point to the branch, but to the commit, as usual

@fregante
fregante marked this pull request as ready for review November 11, 2019 08:39

@sindresorhus sindresorhus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me when it's added to the readme.

@fregante

Copy link
Copy Markdown
Member Author

Untitled

This one was hard to explain in a screenshot. I'm gonna put it in the "GitHub's shortcomings" section

@fregante
fregante merged commit 8654dca into master Nov 18, 2019
@fregante
fregante deleted the fix-view-file-link-in-pr branch November 18, 2019 10:18
@fregante fregante mentioned this pull request Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

"View file" in PRs should point to the branch, not the commit

2 participants