sourcegraph-vscode-DEPRECATED icon indicating copy to clipboard operation
sourcegraph-vscode-DEPRECATED copied to clipboard

Doesn't link to branch I am on

Open felixfbecker opened this issue 7 years ago • 3 comments

When working on a different branch, "Open in Sourcegraph" always opens master.

felixfbecker avatar Jul 19 '18 20:07 felixfbecker

@felixfbecker I just tested the latest extension version on a different branch and it works fine. I get linked to the non-master branch.

  • What does git remote -v look like?
  • What does git status show?
  • Are you logged in to the Sourcegraph instance, or not? (both cases should work)

emidoots avatar Jul 19 '18 20:07 emidoots

@felixfbecker ping :)

emidoots avatar Jul 30 '18 21:07 emidoots

@slimsag It picks the first remote it finds not origin, I think it should pick up origin. That is the first part of the problem.

Its easy to test, just by adding a remote that sits on top of origin.

radum avatar Aug 31 '18 09:08 radum