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

Executing pretty-quick in git worktree cannot detect scm #141

Closed
alber70g opened this issue Nov 1, 2021 · 2 comments · Fixed by #142
Closed

Executing pretty-quick in git worktree cannot detect scm #141

alber70g opened this issue Nov 1, 2021 · 2 comments · Fixed by #142
Labels

Comments

@alber70g
Copy link
Contributor

alber70g commented Nov 1, 2021

When executing pretty-quick in a git worktree it doesn't detect which scm is being used.

Please add a --scm=git flag so we can set it, or detect git in a different way so it detects when in worktree.

A git worktree is stored in .git file instead of directory. The contents of the file are as follows

$ cat .git
gitdir: /Users/<>/projects/projectname/.git/worktrees/my-current-worktree
@alber70g
Copy link
Contributor Author

Can my PR be merged?

@azz azz closed this as completed in #142 Dec 22, 2021
@azz
Copy link
Member

azz commented Dec 22, 2021

🎉 This issue has been resolved in version 3.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@azz azz added the released label Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants