make getViaTmpFrom no longer update location log
authorJoey Hess <joeyh@joeyh.name>
Fri, 11 Dec 2020 15:33:10 +0000 (11:33 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 11 Dec 2020 15:50:13 +0000 (11:50 -0400)
commita422a056f2785999220cde55e07b0fbf999edd44
tree3d86f61a7ed47d68db29a3b6530d4edd4f817bb0
parenta6ed23b82fe3cb1c46a7c23d7b00c94ae05d4bc6
make getViaTmpFrom no longer update location log

All callers adjusted to update it themselves.

In Command.ReKey, and Command.SetKey, the cleanup action already did,
so it was updating the log twice before.

This fixes a bug when annex.stalldetection is set, as now
Command.Transferrer can skip updating the location log, and let it be
updated by the calling process.
12 files changed:
Annex/Content.hs
Annex/Transfer.hs
Command/Multicast.hs
Command/RecvKey.hs
Command/TestRemote.hs
Command/TransferKey.hs
Command/TransferKeys.hs
Command/Transferrer.hs
Logs/Location.hs
P2P/Annex.hs
Remote/Git.hs
doc/todo/stalldetection_breaks_move.mdwn