mirror of https://github.com/voidlizard/hbs2
wip,fix
This commit is contained in:
parent
3d27321241
commit
3b9bb622c5
|
@ -327,7 +327,7 @@ theDict = do
|
|||
found <- liftIO $ binarySearchBS 56 (BS.take 20 . BS.drop 4) (coerce h) file
|
||||
liftIO $ notice $ pretty h <+> pretty (isJust found)
|
||||
|
||||
entry $ bindMatch "reflog:index:search" $ nil_ $ \syn -> lift do
|
||||
entry $ bindMatch "reflog:index:search" $ nil_ $ \syn -> lift $ connectedDo do
|
||||
|
||||
let (_, argz) = splitOpts [] syn
|
||||
|
||||
|
@ -453,7 +453,7 @@ theDict = do
|
|||
_ -> throwIO (BadFormException @C nil)
|
||||
|
||||
entry $ bindMatch "git:commit:list:objects:new" $ nil_ $ \case
|
||||
[ StringLike what ] -> lift do
|
||||
[ StringLike what ] -> lift $ connectedDo do
|
||||
|
||||
commit <- gitRevParseThrow what
|
||||
|
||||
|
@ -487,7 +487,7 @@ theDict = do
|
|||
|
||||
_ -> throwIO (BadFormException @C nil)
|
||||
|
||||
entry $ bindMatch "git:list:objects:new" $ nil_ $ \syn -> lift do
|
||||
entry $ bindMatch "git:list:objects:new" $ nil_ $ \syn -> lift $ connectedDo do
|
||||
let (opts,argz) = splitOpts [] syn
|
||||
|
||||
let what = headDef "HEAD" [ x | StringLike x <- argz ]
|
||||
|
|
Loading…
Reference in New Issue