diff options
author | lealanko <lealanko@web> | 2015-09-06 12:46:13 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-09-06 12:46:13 +0000 |
commit | 9da7f360d6490f4ab97c612e944a52d36ef3c71b (patch) | |
tree | 2c2e65872f7ed8cc2c593cb48f5061be91754f22 /doc | |
parent | 95c591b1ef7628f7f7098d9e5bd811d2ac6dff2c (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Layout_mismatch_between_symlinks_and_annex_objects.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/Layout_mismatch_between_symlinks_and_annex_objects.mdwn b/doc/forum/Layout_mismatch_between_symlinks_and_annex_objects.mdwn new file mode 100644 index 000000000..fe9167e97 --- /dev/null +++ b/doc/forum/Layout_mismatch_between_symlinks_and_annex_objects.mdwn @@ -0,0 +1,14 @@ +I have an old repository, and I'm not sure what I have done with it, but it seems to be broken in an interesting fashion. + + $ ls -l pix/image001.jpg + lrwxrwxrwx 1 la la 187 Sep 5 11:31 pix/image001.jpg -> ../.git/annex/objects/G7/J7/SHA256-s99372--0458b0b72b394a719b72032971b880a8dfafa65e8048ec6fc6c861fc3ea5e702/SHA256-s99372--0458b0b72b394a719b72032971b880a8dfafa65e8048ec6fc6c861fc3ea5e702 + $ ls -lL pix/image001.jpg + ls: cannot access pix/image001.jpg: No such file or directory + $ find .git/annex/objects/ -type f -name '*0458b0b72*' + .git/annex/objects/477/75c/SHA256-s99372--0458b0b72b394a719b72032971b880a8dfafa65e8048ec6fc6c861fc3ea5e702/SHA256-s99372--0458b0b72b394a719b72032971b880a8dfafa65e8048ec6fc6c861fc3ea5e702 + $ git config annex.version + 5 + +So the symlinks use a layout where index directories have two-letter names, but the actual layout in the annex uses directory names with three hexadecimal digits. + +Is there some straightforward way to fix this or do I need to figure the index format and hack up a script to convert the annex repository? |