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

@ -23,6 +23,7 @@ git-annex (7.20190323) UNRELEASED; urgency=medium
a special remote. Especially useful when you want to reuse the name
of an old remote for something new.
* Drop support for building with aws older than 0.14.
* info: Show when a remote is configured with importtree.
-- Joey Hess <id@joeyh.name> Tue, 09 Apr 2019 14:07:53 -0400

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