Don't try to import .git directories from special remotes
Because git does not support storing git repositories inside a git repository.
This commit is contained in:
parent
500f72ec3d
commit
082e1f1738
4 changed files with 32 additions and 1 deletions
|
@ -291,7 +291,7 @@ seekRemote remote branch msubdir = do
|
|||
listContents :: Remote -> TVar (Maybe (ImportableContents (ContentIdentifier, Remote.ByteSize))) -> CommandStart
|
||||
listContents remote tvar = do
|
||||
showStart' "list" (Just (Remote.name remote))
|
||||
next $ Remote.listImportableContents (Remote.importActions remote) >>= \case
|
||||
next $ listImportableContents remote >>= \case
|
||||
Nothing -> giveup $ "Unable to list contents of " ++ Remote.name remote
|
||||
Just importable -> do
|
||||
importable' <- makeImportMatcher remote >>= \case
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue