aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/store_annex_in_different_place_on_hard_drive
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-06 16:23:04 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-06 16:23:04 -0400
commit90f01cfa693f85725e35869f93f95b319e39fd3c (patch)
tree40c6cacde9f99b7c1215441b7ae6de381e7b4298 /doc/forum/store_annex_in_different_place_on_hard_drive
parent339215e526852b253e9a11721eef47c3f176db1d (diff)
response
Diffstat (limited to 'doc/forum/store_annex_in_different_place_on_hard_drive')
-rw-r--r--doc/forum/store_annex_in_different_place_on_hard_drive/comment_1_a95add69028ad71f3c66b544c1a28db6._comment16
1 files changed, 16 insertions, 0 deletions
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.
+"""]]