diff options
-rw-r--r-- | Command/Export.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Export.hs b/Command/Export.hs index 1f293025b..38bda459c 100644 --- a/Command/Export.hs +++ b/Command/Export.hs @@ -71,9 +71,9 @@ seek :: ExportOptions -> CommandSeek seek o = do r <- getParsed (exportRemote o) unlessM (exportSupported (exportActions r)) $ - error "That remote does not support exports." + giveup "That remote does not support exports." - new <- fromMaybe (error "unknown tree") <$> + new <- fromMaybe (giveup "unknown tree") <$> -- Dereference the tree pointed to by the branch, commit, -- or tag. inRepo (Git.Ref.tree (exportTreeish o)) |