Same reference appears twice (with commit specified and unspecified)
View options
- Truncate descriptions
Created by: dadlerj
- Sourcegraph version: alpha9
Steps to reproduce:
Haven't tried to repro on another repo yet.
- Follow the instructions here: https://github.com/sourcegraph/sourcegraph/issues/1717
- Go to http://localhost:7080/github.com/sourcegraph/sample-public-go-repo/-/blob/main.go#L5:25&tab=references
- Ensure that:
- Fuzzy matches are turned OFF
- Show references from other repositories is turned ON
Note that you see two references to the same line. If I "Hide references from other repositories", the 2nd one goes away.
If I click, the two URLs I get taken to are:
- http://localhost:7080/github.com/sourcegraph/sample-public-go-repo@1d29938eca9afab8e8a26479d78e60b5978c0f57/-/blob/main.go#L5:25
- http://localhost:7080/github.com/sourcegraph/sample-public-go-repo/-/blob/main.go#L5:25
The extension seems to think the specified commit is a different repo.
Expected behavior:
Actual behavior:

