From 90f01cfa693f85725e35869f93f95b319e39fd3c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 6 Oct 2015 16:23:04 -0400 Subject: response --- .../comment_1_a95add69028ad71f3c66b544c1a28db6._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/store_annex_in_different_place_on_hard_drive/comment_1_a95add69028ad71f3c66b544c1a28db6._comment (limited to 'doc') diff --git a/doc/forum/store_annex_in_different_place_on_hard_drive/comment_1_a95add69028ad71f3c66b544c1a28db6._comment b/doc/forum/store_annex_in_different_place_on_hard_drive/comment_1_a95add69028ad71f3c66b544c1a28db6._comment new file mode 100644 index 000000000..af79351a3 --- /dev/null +++ b/doc/forum/store_annex_in_different_place_on_hard_drive/comment_1_a95add69028ad71f3c66b544c1a28db6._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-10-06T20:17:07Z" + content=""" +You should avoid making two repositories that share the same .git/annex +or .git/annex/objects directories. Doing that can get git-annex confused, +and let it drop a file that is only located in one place .. because it sees +it existing in 2 places due to the symlink! + +IIRC, git-annex supports making .git/annex a symlink to some directory +elsewhere, that is not itself used by another git repository. + +Or, you can use standard `GIT_DIR` settings to make git +(and git-annex) look for the .git directory elsewhere. +"""]] -- cgit v1.2.3