git annex loses track of files it has locally

Mesar Hameed mesar.hameed at
Tue Sep 9 17:03:46 CEST 2014


On Tue 09/09/14,16:05, martin f krafft wrote:
>   fishbowl:…ka/photos|master|2014.08.29% git annex get .
>   # nothing happens
> So part of git-annex thinks the file is present and another thinks
> it's not…
> I have to drop/get and then it works:
> Is there another way than drop/get on all files to restore this?
> I've run "repair", "reinject" and "fix", but nothing seemed to fix
> the problem.

This has happend to me too, over time, when one is less likely to
remember that the file should locally be available.
Lukily I thought it quite odd that I had several hundred unused objects,
so I didnt just dropunused.

The fix was to do git annex fsck on the entire repo.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <>

More information about the vcs-home mailing list