summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-20 13:35:53 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-20 13:35:53 -0400
commit19e35f7f0d6f87f20dca3e30a74e5700bbb86d84 (patch)
treecd9e48fcbbcd500f6a85119de39af7231832b8a9 /Assistant
parent7bb0ee9d85b3acad40834ccfc852da8c6112f880 (diff)
upload progress bar for git remote on same filesystem
cp is used here, but we can just watch the size of the destination file This commit made from within the ruins of an old mill, overlooking a beautiful waterfall.
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/TransferPoller.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Assistant/Threads/TransferPoller.hs b/Assistant/Threads/TransferPoller.hs
index e31dfb40c..f8f9388f0 100644
--- a/Assistant/Threads/TransferPoller.hs
+++ b/Assistant/Threads/TransferPoller.hs
@@ -45,5 +45,6 @@ transferPollerThread st dstatus = thread $ do
when (bytesComplete info /= sz && isJust sz) $
alterTransferInfo dstatus t $
\i -> i { bytesComplete = sz }
- {- can't poll uploads -}
+ {- Can't poll uploads, instead the upload code
+ - updates the files. -}
| otherwise = noop