Skip to content
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

Doesn't work within a git worktree #4

Open
eramdam opened this issue Aug 16, 2021 · 0 comments
Open

Doesn't work within a git worktree #4

eramdam opened this issue Aug 16, 2021 · 0 comments

Comments

@eramdam
Copy link

eramdam commented Aug 16, 2021

This extension is very useful in my day-to-day, thanks! However, I started to use git worktree and I noticed the extension doesn't work when the currently opened folder is a work tree.

You can reproduce by doing the following in an existing repo

git worktree add ../my-worktree "branch"

and trying to use the action inside the newly created folder inside of VSCode, the action will fail because of the lack of a .git/config file

image

My guess is that you could work around this by using the current workspace's absolute file as a fallback 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant