add Key to all ActionItem constructors

This commit is contained in:
Joey Hess 2019-06-06 12:53:24 -04:00
commit 258a7c5cd1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
15 changed files with 70 additions and 52 deletions

View file

@ -690,7 +690,7 @@ syncFile ebloom rs af k = onlyActionOn' k $ do
, return []
)
get have = includeCommandAction $ do
showStartKey "get" k (mkActionItem af)
showStartKey "get" k ai
next $ next $ getKey' k af have
wantput r
@ -705,7 +705,9 @@ syncFile ebloom rs af k = onlyActionOn' k $ do
, return []
)
put dest = includeCommandAction $
Command.Move.toStart' dest Command.Move.RemoveNever af k (mkActionItem af)
Command.Move.toStart' dest Command.Move.RemoveNever af k ai
ai = mkActionItem (k, af)
{- When a remote has an annex-tracking-branch configuration, change the export
- to contain the current content of the branch. Otherwise, transfer any files