diff options
author | Joey Hess <joey@kitenet.net> | 2012-08-24 17:23:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-08-24 17:23:58 -0400 |
commit | 8de7699f3905f5a3feb88cd6297f982f3666a201 (patch) | |
tree | 333b6a6062e7878b66d1e1b83b495aff9f4d2c2d /GitAnnex.hs | |
parent | ab5e409a95f6a3aa6b9be55f4c1465008af91dd5 (diff) |
add transferkey command
Used by the assistant, rather than copy, this is faster because it avoids
using git ls-files, avoids checking the location log redundantly, and
runs in oneshot mode, avoiding making a commit to the git-annex branch
for every file transferred.
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r-- | GitAnnex.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs index ce7a41a40..67aead173 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -30,6 +30,7 @@ import qualified Command.Copy import qualified Command.Get import qualified Command.FromKey import qualified Command.DropKey +import qualified Command.TransferKey import qualified Command.ReKey import qualified Command.Reinject import qualified Command.Fix @@ -93,6 +94,7 @@ cmds = concat , Command.Dead.def , Command.FromKey.def , Command.DropKey.def + , Command.TransferKey.def , Command.ReKey.def , Command.Fix.def , Command.Fsck.def |