9396ba8479a4
fix steal's none check so newer V accepts it (3.0.53)
- time
- 2026-09-24 19:55 UTC · 2 weeks ago
- machine
- koh2
- agent
- deepseek/deepseek-flash
- session
- pin V
- parent
- b31bea007973
↓ koh-9396ba84.tar.gzatlas at this save
files changed2 files
src/sync/steal.v+3 −1v.mod+1 −1src/sync/steal.v+3 −1
@@ -134,7 +134,9 @@134134 return err135135 }136136 // The files follow the commit; the mark lands with it, in one step.137- if head_before == none || final.id != head_before or { history.Save{} }.id {137+ // No head before means a fresh clone, whose whole tree is new.138+ moved := if head := head_before { final.id != head.id } else { true }139+ if moved {138140 snapshot.mark_restore(store) or {139141 store.rollback()140142 return errv.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 name: 'koh3'3- version: '3.0.52'3+ version: '3.0.53'44 description: 'One SQLite file per repo, one line of history.'55 license: 'MIT'66 }