Skip to content

Commit 3adfbb6

Browse files
committed
Add remote head hash in new codebases
1 parent e376745 commit 3adfbb6

File tree

1 file changed

+1
-0
lines changed
  • parser-typechecker/src/Unison/Codebase/SqliteCodebase

1 file changed

+1
-0
lines changed

parser-typechecker/src/Unison/Codebase/SqliteCodebase/Operations.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ createSchema = do
100100
(_, emptyCausalHashId) <- emptyCausalHash
101101
(_, ProjectBranch {projectId, branchId}) <- insertProjectAndBranch scratchProjectName scratchBranchName emptyCausalHashId
102102
Q.setCurrentProjectPath projectId branchId []
103+
Q.trackLatestRemoteHead
103104
where
104105
scratchProjectName = UnsafeProjectName "scratch"
105106
scratchBranchName = UnsafeProjectBranchName "main"

0 commit comments

Comments
 (0)