From 0fa9ecb7ba54aa719dec810033b5f54ca197bf4e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 1 Mar 2013 15:23:59 -0400 Subject: add additional debug info about reasons for transfers --- Assistant/Threads/Watcher.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Assistant/Threads/Watcher.hs') diff --git a/Assistant/Threads/Watcher.hs b/Assistant/Threads/Watcher.hs index be82a105f..c7616b678 100644 --- a/Assistant/Threads/Watcher.hs +++ b/Assistant/Threads/Watcher.hs @@ -252,8 +252,8 @@ onAddSymlink file filestatus = go =<< liftAnnex (Backend.lookupFile file) | scanComplete daemonstatus = do present <- liftAnnex $ inAnnex key if present - then queueTransfers Next key (Just file) Upload - else queueTransfers Next key (Just file) Download + then queueTransfers "new file created" Next key (Just file) Upload + else queueTransfers "new or renamed file wanted" Next key (Just file) Download handleDrops present key (Just file) Nothing | otherwise = noop -- cgit v1.2.3