summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://a-or-b.myopenid.com/ <http://a-or-b.myopenid.com/@web>2013-01-13 05:18:42 +0000
committerGravatar admin <admin@branchable.com>2013-01-13 05:18:42 +0000
commitaca0f935c9a0cdff71fb004d8414dc8f6725833e (patch)
treef0f3b20306645a118124127d593f051bb1db1e3f
parentd168881f29da927a0777ea080496103e71ca29f8 (diff)
-rw-r--r--doc/forum/Detached_git_work_tree__63__.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/forum/Detached_git_work_tree__63__.mdwn b/doc/forum/Detached_git_work_tree__63__.mdwn
new file mode 100644
index 000000000..3c1f6ae24
--- /dev/null
+++ b/doc/forum/Detached_git_work_tree__63__.mdwn
@@ -0,0 +1,11 @@
+Does git-annex (safely) handle detached work trees?
+
+That is, in git I can set `GIT_WORK_TREE=/dir/A` and `GIT_DIR=/dir/B` in the environment and have all my .git stuff in /dir/B and all my files in /dir/A.
+
+I can see this coming in useful for a few situations, but in particular for difficult file systems - like SMB or old implementations of NFS.
+
+In my particular case I have a Drobo (something like a proprietary NAS). The Drobo is linux based, but by default mounts as a samba share or if you install `unfsd` it can be mounted via NFS. Unfortunately, the nfs is v3 and doesn't allow locks, so git-annex barfs. :-(
+
+What I'd like to be able to do is have a direct mode annex on the drobo, with the git directory sitting on one of my linux machines. That machine would be the only one that would directly access the drobo data as an annex but other systems that look at the drobo would see what looks like a normal directory structure; for example my media centre - `mythtv` naturally! - would see "normal" names for my music collection, not SHA256 hashes...
+
+I guess there would be an issue if there were different `GIT_DIR`s pointing to the one `GIT_WORK_TREE`, but that is a caveat emptor IMHO.