summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-09-09 14:28:14 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-09-09 14:28:14 -0400
commit00ddb2b5d9e9e1c765e74820a4fc3ab8dc637785 (patch)
tree8556fa6d4c9e2c0fbabe922de348525cb1d091d1 /doc
parent6238dddc0d340fb57e03beee81ccd9e954909bad (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Layout_mismatch_between_symlinks_and_annex_objects/comment_2_9134154ba2ef3575c39c7848136b79a9._comment21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/Layout_mismatch_between_symlinks_and_annex_objects/comment_2_9134154ba2ef3575c39c7848136b79a9._comment b/doc/forum/Layout_mismatch_between_symlinks_and_annex_objects/comment_2_9134154ba2ef3575c39c7848136b79a9._comment
new file mode 100644
index 000000000..c30ad8999
--- /dev/null
+++ b/doc/forum/Layout_mismatch_between_symlinks_and_annex_objects/comment_2_9134154ba2ef3575c39c7848136b79a9._comment
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2015-09-09T18:18:17Z"
+ content="""
+I wish this incompatability didn't exist either, but the transition to use
+consistently 3 letter hash directories would be too much to ask of all the
+users. And there are ways to convert a bare to non-bare that don't have
+this problem, like making a clone and using `git annex move --all --from
+origin`
+
+There's an easy way to finish your conversion from bare to non-bare.
+Just move .git/annex/objects to old-objects, and run `git annex add
+old-objects --backend=SHA256`. That will rename all the files into the right places for a
+non-bare repository, so your existing symlinks will work. You can then
+`rm -rf old-objects` to clean up.
+
+Note that method assumes that SHA256 is the backend of everything in that
+repo. If not, it gets a bit trickier; you'd need to use `git-annex
+setkey'
+"""]]