You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix claim-after-discard: check branch data instead of branch existence
After discard clears item data from a branch (when DOLT_BRANCH deletion
fails), the branch still exists but is empty. The old forkBranchExists
check saw the branch and used write/{branch}/{branch}, starting from
the empty state — making the PR show the item as removed.
branchHasData queries the specific wanted item on the branch. Dead
branches (cleared by discard) return false, so Exec starts fresh from
main via write/main/{branch}.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments