Compare commits
1 Commits
v0.2.29
...
fix/issue-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b16a97514e |
@@ -386,12 +386,6 @@ ensure_session() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
if $worktree_exists && ! $session_exists; then
|
||||
log "warn" "ensure_session" "Worktree exists but session is missing. Removing worktree to recreate both..."
|
||||
remove_worktree_for_issue "$issue_ref"
|
||||
worktree_exists=false
|
||||
fi
|
||||
|
||||
if ! $worktree_exists && $session_exists; then
|
||||
log "warn" "ensure_session" "Session exists but worktree is missing. Removing stale session..."
|
||||
rm -f "$session_path"
|
||||
|
||||
Reference in New Issue
Block a user