We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be52d4 commit a2bc01aCopy full SHA for a2bc01a
patchable.nu
@@ -80,9 +80,9 @@ def "main checkout" [
80
# $GIT_DIR must be the worktree's .git dir, even if that is just an alias for the backing repo, since each worktree maintains its own index
81
$env.GIT_DIR = $"($worktree_path)/.git"
82
$env.GIT_WORK_TREE = $worktree_path
83
- let worktree_git_dir = git rev-parse --git-dir
84
- let worktree_rebase_progress_dir = $"($worktree_git_dir)/rebase-apply"
85
if ($worktree_path | path exists) {
+ let worktree_git_dir = git rev-parse --git-dir
+ let worktree_rebase_progress_dir = $"($worktree_git_dir)/rebase-apply"
86
log info "Worktree root already exists, resetting"
87
if ($worktree_rebase_progress_dir | path exists) {
88
if $force {
0 commit comments