mirror of https://github.com/voidlizard/hbs2
wip, debug
This commit is contained in:
parent
f50311bd03
commit
2602ecdbff
|
@ -116,7 +116,14 @@ importGitRefLog :: forall m . ( HBS2GitPerks m
|
||||||
|
|
||||||
importGitRefLog = do
|
importGitRefLog = do
|
||||||
|
|
||||||
updateReflogIndex
|
fix \next -> do
|
||||||
|
updateReflogIndex `catch` \case
|
||||||
|
MissedBlockError -> do
|
||||||
|
pause @'Seconds 2.0
|
||||||
|
warn "missed block on import"
|
||||||
|
next
|
||||||
|
|
||||||
|
e -> throwIO e
|
||||||
|
|
||||||
packs <- gitDir
|
packs <- gitDir
|
||||||
>>= orThrowUser "git directory not found"
|
>>= orThrowUser "git directory not found"
|
||||||
|
|
Loading…
Reference in New Issue