Corrupt git-annex repository

Richard Hartmann richih.mailinglist at
Fri Oct 28 22:00:07 CEST 2011

On Fri, Oct 28, 2011 at 21:23, Joey Hess <joey at> wrote:

> Hmm, either the main git-annex branch or origin/git-annex seems to be
> missing based on the error message, and I don't think it's the latter.

Both are there.

> The only place the uuid for a repository is stored is .git/config.

% git init .
Initialized empty Git repository in uuid/.git/
% git annex init 'test'
init test ok
% grep uuid .git/config
        uuid = ef90acc8-019e-11e1-9354-9f042d197907
% sed -i 's/ef90acc8-019e-11e1-9354-9f042d197907/06e409ba-019f-11e1-86b0-3bb33a255d70/'
% git annex status
supported backends: WORM SHA1 SHA256 SHA512 SHA224 SHA384 SHA1E
supported remote types: git S3 bup directory rsync web hook
known repositories:
        ef90acc8-019e-11e1-9354-9f042d197907 -- test
local annex keys: 0
local annex size: 0 bytes
total annex keys: 0
total annex size: 0 bytes
backend usage:

> There is not.

Why? If a UUID is marked as 'gone forever', the other repos could pick
that information up over time and purge it from their own stores.


More information about the vcs-home mailing list