-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Use the active branch for the code tab #3720
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3720 +/- ##
==========================================
+ Coverage 22.9% 22.91% +0.01%
==========================================
Files 124 124
Lines 24750 24750
==========================================
+ Hits 5669 5672 +3
+ Misses 18218 18216 -2
+ Partials 863 862 -1
Continue to review full report at Codecov.
|
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.
Currently it breaks link at least from multiple places and it should be at least:
{{if (and (not .IsBareRepo) (ne .BranchName .BaseRepo.DefaultBranch) .BranchLink)}}{{.BranchLink}}{{else}}{{.RepoLink}}{{end}}
Also it does not seem to go to correct branch from commit lists as BranchLink
does not seem to have value set in that handler
@lafriks Fixed |
@Bwko please backport to release/1.4 |
Fixes #2147