info: Show when a remote is configured with importtree

This commit is contained in:
Joey Hess 2019-04-23 14:27:43 -04:00
parent ae21c88640
commit 15bd7d57ca
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 4 additions and 0 deletions

View file

@ -177,6 +177,9 @@ adjustExportImport r = case M.lookup "exporttree" (config r) of
then checkPresent r'
else \k -> anyM (checkpresent k)
=<< getexportlocs exportdbv k
, getInfo = do
is <- getInfo r'
return (is++[("import", "yes")])
}
isexport dbv = return $ r