Skip to content

Doesn't support git worktrees #87

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

Closed
VitalyOstanin opened this issue Dec 13, 2023 · 2 comments
Closed

Doesn't support git worktrees #87

VitalyOstanin opened this issue Dec 13, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request released

Comments

@VitalyOstanin
Copy link

VitalyOstanin commented Dec 13, 2023

Precise-commits can't find .git dir when git worktree is used.

precise-commits: An Error occurred

Error: No .git directory found
    at resolveNearestGitDirectoryParent

When parent git dir can't be found here
https://github.com/softwareventures/precise-commits/blob/main/src/git-utils.ts#L15

, please try to find git dir for worktree:
git rev-parse --path-format=absolute --git-common-dir

@djcsdy djcsdy self-assigned this Dec 23, 2023
@djcsdy djcsdy added the enhancement New feature or request label Dec 23, 2023
@djcsdy
Copy link
Member

djcsdy commented Dec 23, 2023

I'll look into this, thanks for reporting.

@djcsdy djcsdy closed this as completed in 79f24f4 Dec 14, 2024
Copy link

🎉 This issue has been resolved in version 4.0.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

2 participants