Repository navigation
Fix follow-file-renames feature - #5579
Merged
Merged
Conversation
fregante
approved these changes
Apr 10, 2022
| search: '', | ||
| }); | ||
| if (isOlder) { | ||
| linkifiedURL.branch = fileChanges.commit.parentSha; // #5576 |
Member
There was a problem hiding this comment.
How come this became necessary? The feature worked before
Contributor
Author
There was a problem hiding this comment.
I was wondering about that too, but I very rarely use this feature so I don't know. Maybe GitHub used to redirect to the last commit where the file existed, but stopped doing it for whatever reason?
Member
There was a problem hiding this comment.
hmm that's it, if I remember correctly you could use the commits page on any file and it would just show the commits whether the file existed or not, which would explain why this worked.
Co-authored-by: Federico Brigante <[email protected]>
3 of 4 tasks
Member
|
Unless you have any more quick fixes coming today, please release a new version after merging this PR |
This comment was marked as outdated.
This comment was marked as outdated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5576
Test URLs
Screenshot
capture-1649348443.mp4