propigate error
This commit is contained in:
parent
857d3c3180
commit
4236dc83a8
1 changed files with 2 additions and 1 deletions
|
@ -204,7 +204,8 @@ withKeyOptions' ko auto mkkeyaction fallbackaction params = do
|
||||||
forM_ l $ \i ->
|
forM_ l $ \i ->
|
||||||
maybe noop (\k -> keyaction (return [k]))
|
maybe noop (\k -> keyaction (return [k]))
|
||||||
=<< catKey (LsTree.sha i)
|
=<< catKey (LsTree.sha i)
|
||||||
liftIO $ void cleanup
|
unlessM (liftIO cleanup) $
|
||||||
|
error ("git ls-tree " ++ Git.fromRef b ++ " failed")
|
||||||
|
|
||||||
prepFiltered :: (FilePath -> CommandStart) -> Annex [FilePath] -> Annex [CommandStart]
|
prepFiltered :: (FilePath -> CommandStart) -> Annex [FilePath] -> Annex [CommandStart]
|
||||||
prepFiltered a fs = do
|
prepFiltered a fs = do
|
||||||
|
|
Loading…
Add table
Reference in a new issue