export --fast sets up but does not populate export

sync --content finishes
This commit is contained in:
Joey Hess 2017-09-19 14:26:03 -04:00
parent 2e69efea8d
commit a6c0ed6698
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 8 additions and 1 deletions

View file

@ -82,6 +82,7 @@ seek o = do
db <- openDb (uuid r)
ea <- exportActions r
changeExport r ea db new
unlessM (Annex.getState Annex.fast) $
void $ fillExport r ea db new
closeDb db

View file

@ -50,6 +50,12 @@ And, git-annex will never trust an export to retain the content of a key.
the branch. `git annex sync --content` and the git-annex assistant
will update exports when it commits to the branch they are tracking.
* `--fast`
This sets up an export of a tree, but avoids any expensive file uploads to
the remote. You can later run `git annex sync --content` to upload
the files to the export.
# EXAMPLE
git annex initremote myexport type=directory directory=/mnt/myexport \