Compare commits
3 Commits
fix/issue-
...
v0.2.30
| Author | SHA1 | Date | |
|---|---|---|---|
| ae8f1433a7 | |||
|
|
b16a97514e | ||
| b09fe8eabc |
@@ -386,12 +386,6 @@ ensure_session() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
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
|
if ! $worktree_exists && $session_exists; then
|
||||||
log "warn" "ensure_session" "Session exists but worktree is missing. Removing stale session..."
|
log "warn" "ensure_session" "Session exists but worktree is missing. Removing stale session..."
|
||||||
rm -f "$session_path"
|
rm -f "$session_path"
|
||||||
|
|||||||
Reference in New Issue
Block a user