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

Does not support git worktrees #1643

Closed
harshg-db opened this issue Jul 31, 2024 · 2 comments · Fixed by #1831
Closed

Does not support git worktrees #1643

harshg-db opened this issue Jul 31, 2024 · 2 comments · Fixed by #1831
Assignees
Labels
CLI CLI related issues

Comments

@harshg-db
Copy link

Repro steps:

  1. cd ~/some_git_repo
  2. Run git worktree add ~/test_worktree
  3. Open ~/test_worktree and try to sync it to a workspace

Expected:
See a folder in wsfs

Actual:
Get an error Sync Error: unable to load repository specific gitconfig: open /Users/harsh.goyal/test_worktree/.git/config: not a directory

@harshg-db harshg-db added the CLI CLI related issues label Jul 31, 2024
@danpicton
Copy link

This also happens the other direction too - if I run databricks workspace export-dir --debug --overwrite '/' ~/tmp/databricks-files/ to sync files locally for grepping, I encounter the same error:

Error: mkdir /Users/me/tmp/databricks-files/Repos/myuser/data-autoloader: not a directory

@andrewnester andrewnester self-assigned this Oct 8, 2024
@pietern
Copy link
Contributor

pietern commented Oct 18, 2024

PR with support for Git worktrees is underway in #1831.

@pietern pietern linked a pull request Oct 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI CLI related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants