summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-15 16:34:45 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-15 16:46:03 -0400
commit15d757049d764410e3d71bbb68640549f86fc543 (patch)
tree8bdff79aa30eb197142899ef82f03cc577f61862 /Command
parent2d3f18876550ee2e37a60aea1c0faaa369606ae0 (diff)
split out Types.Export
Diffstat (limited to 'Command')
-rw-r--r--Command/Export.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Export.hs b/Command/Export.hs
index cc463b7dc..22ea72170 100644
--- a/Command/Export.hs
+++ b/Command/Export.hs
@@ -20,6 +20,7 @@ import Git.FilePath
import Git.Sha
import Types.Key
import Types.Remote
+import Types.Export
import Annex.Content
import Annex.CatFile
import Logs.Location
@@ -321,6 +322,6 @@ cleanupRename ea db ek src dest = do
removeExportLocation db (asKey ek) src
addExportLocation db (asKey ek) dest
flushDbQueue db
- if exportedDirectories src /= exportedDirectories dest
+ if exportDirectories src /= exportDirectories dest
then removeEmptyDirectories ea db src [asKey ek]
else return True