summaryrefslogtreecommitdiff
path: root/Content.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-03 21:34:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-03 21:34:30 -0400
commitbc2df77642490be830cde9a46428d25051120893 (patch)
treec4bf319c1f640f5dcdf11d1c1fc16e0242c61a3e /Content.hs
parent14e0d01b58c504e889b636e952e165f3cf8ab6c9 (diff)
Bugfix: When fsck detected and moved away corrupt file content, it did not update the location log.
Diffstat (limited to 'Content.hs')
-rw-r--r--Content.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Content.hs b/Content.hs
index 6b8316c08..bcd4ac0e1 100644
--- a/Content.hs
+++ b/Content.hs
@@ -147,6 +147,7 @@ moveBad key = do
liftIO $ allowWrite (parentDir src)
liftIO $ renameFile src dest
liftIO $ removeDirectory (parentDir src)
+ logStatus key ValueMissing
return dest
{- List of keys whose content exists in .git/annex/objects/ -}