You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Visual Studio 2017 enterprise.
Create a new worktree and checkout some branch to that worktree.
Open/Compile my project from a worktree.
Visual Studio shows the correct branch name, but GitInfo has a wrong branch name.
Steps to Reproduce
Expected Behavior
Expecting to haver the correct branch name in ThisAssembly.Git.Branch.
The (wrong) branch name is probably taken from .git/HEAD of the main branch,. The correct value is in .git/worktrees/WorktreeName/HEAD .
The text was updated successfully, but these errors were encountered:
Describe the Bug
Using Visual Studio 2017 enterprise.
Create a new worktree and checkout some branch to that worktree.
Open/Compile my project from a worktree.
Visual Studio shows the correct branch name, but GitInfo has a wrong branch name.
Steps to Reproduce
Expected Behavior
Expecting to haver the correct branch name in ThisAssembly.Git.Branch.
The (wrong) branch name is probably taken from .git/HEAD of the main branch,. The correct value is in .git/worktrees/WorktreeName/HEAD .
The text was updated successfully, but these errors were encountered: