skip repos without a description set when --in="" is specified
Picking one of probably several remotes with no description set was not useful behavior.
This commit is contained in:
parent
b05c08b5c1
commit
1940e52793
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ byName' n = do
|
|||
- .git/config. -}
|
||||
nameToUUID :: String -> Annex UUID
|
||||
nameToUUID "." = getUUID -- special case for current repo
|
||||
nameToUUID "" = error "no remote specified"
|
||||
nameToUUID n = byName' n >>= go
|
||||
where
|
||||
go (Right r) = return $ uuid r
|
||||
|
|
Loading…
Reference in a new issue