summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Logs/Transfer.hs7
-rw-r--r--doc/design/assistant/syncing.mdwn3
2 files changed, 7 insertions, 3 deletions
diff --git a/Logs/Transfer.hs b/Logs/Transfer.hs
index 6bdc750f4..dc9283306 100644
--- a/Logs/Transfer.hs
+++ b/Logs/Transfer.hs
@@ -27,7 +27,12 @@ data Transfer = Transfer
}
deriving (Show, Eq, Ord)
-{- Information about a Transfer, stored in the transfer information file. -}
+{- Information about a Transfer, stored in the transfer information file.
+ -
+ - Note that the associatedFile may not correspond to a file in the local
+ - git repository. It's some file, possibly relative to some directory,
+ - of some repository, that was acted on to initiate the transfer.
+ -}
data TransferInfo = TransferInfo
{ startedTime :: UTCTime
, transferPid :: Maybe ProcessID
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn
index c18badb53..8757c3ae2 100644
--- a/doc/design/assistant/syncing.mdwn
+++ b/doc/design/assistant/syncing.mdwn
@@ -7,8 +7,7 @@ all the other git clones, at both the git level and the key/value level.
**done**
* locking for the files, so redundant transfer races can be detected,
and failed transfers noticed **done**
-* transfer info for git-annex-shell (problem: how to add a switch
- with the necessary info w/o breaking backwards compatability?)
+* transfer info for git-annex-shell **done**
* update files as transfers proceed. See [[progressbars]]
(updating for downloads is easy; for uploads is hard)
* add Transfer queue TChan