summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Branch.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs
index 8e7f45a4a..e551bfcd0 100644
--- a/Annex/Branch.hs
+++ b/Annex/Branch.hs
@@ -164,7 +164,9 @@ get' staleok file = fromcache =<< getCache file
fromjournal Nothing
| staleok = withIndex frombranch
| otherwise = withIndexUpdate $ frombranch >>= cache
- frombranch = L.unpack <$> catFile fullname file
+ frombranch = do
+ liftIO $ putStrLn $ "frombranch " ++ file
+ L.unpack <$> catFile fullname file
cache content = do
setCache file content
return content