-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: latest insider
- OS Version: Windows 10 x64
The following bug only seems to happen when two folders belonging to the same parent git repository are added to the workspace. For example, here myApp is the repository:
myApp/
myApp/.git
myApp/foo
myApp/foo/test.js
myApp/bar
myApp/bar/test.js
Steps to Reproduce:
- open an empty VSCode window
- add the
foo
folder to the workspace - add the
bar
folder to the workspace - open one of the test.js file
- open the integrated terminal and type
git checkout -b new_branch
What happens?
The branch sticks to master
in the bottom left corner of vscode.
Note: Exiting VSCode and opening the previous workspace will correctly show the new_branch as current branch.
Reproduces without extensions: Yes
edit:
Problem also happens with macOS High Sierra. See my last comment.
Tiedye, bhack, Marcholio and jaydenseric
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesverifiedVerification succeededVerification succeeded