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

Add workaround for git worktree #483

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

steinybot
Copy link
Collaborator

Take 2.

Turns out it is actually quite easy to detect if the current workspace is a linked workspace because .git is a file instead of a directory.

@sideeffffect
Copy link
Contributor

Could this even be upstreamed to sbt-git?

@steinybot
Copy link
Collaborator Author

Yep, I've got a PR there sbt/sbt-git#243. Dunno how long it'll take to get in there.

Not sure if you mind having a temporary workaround. It's a bit fiddly having to reapply this change every time I switch branches.

@fwbrasil
Copy link
Collaborator

LGTM! Let's remove the workaround later in case you manage to get the change upstream.

@fwbrasil fwbrasil merged commit a68a424 into getkyo:main Jun 17, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants