cli icon indicating copy to clipboard operation
cli copied to clipboard

Does not support git worktrees

Open harshg-db opened this issue 1 year ago • 1 comments

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 avatar Jul 31 '24 16:07 harshg-db

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

danpicton avatar Aug 22 '24 07:08 danpicton

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

pietern avatar Oct 18 '24 13:10 pietern