diff options
author | http://www.gl-como.it/author/valhalla/ <valhalla@web> | 2013-08-18 08:47:36 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-08-18 08:47:36 +0000 |
commit | ee02d4231fc6ba92b7c7dbf142b7220b0f988c75 (patch) | |
tree | 5290a01af1858009f1d4eedeab59657f77456f89 /doc/direct_mode | |
parent | 0e38cf8b2225841db28b858d281ff40a0f3118c7 (diff) |
Added a comment: Direct mode clone of an indirect repo
Diffstat (limited to 'doc/direct_mode')
-rw-r--r-- | doc/direct_mode/comment_11_1c79c93f4b17cfc354ab920e3775cc60._comment | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/direct_mode/comment_11_1c79c93f4b17cfc354ab920e3775cc60._comment b/doc/direct_mode/comment_11_1c79c93f4b17cfc354ab920e3775cc60._comment new file mode 100644 index 000000000..ad1b66bc0 --- /dev/null +++ b/doc/direct_mode/comment_11_1c79c93f4b17cfc354ab920e3775cc60._comment @@ -0,0 +1,26 @@ +[[!comment format=mdwn + username="http://www.gl-como.it/author/valhalla/" + nickname="valhalla" + subject="Direct mode clone of an indirect repo" + date="2013-08-18T08:47:35Z" + content=""" +I too have issues with mixing direct and indirect mode repositories. + + I have a regular, existing repository with ebooks, shared between various clones on proper :) filesystems; now I would need a copy of some of them on an ereader which only offers a FAT filesystem, so it has to be direct mode. + + mount $READER + cd $reader + git clone $REPO + +I get a directory full of small files, the way git manages links on FAT. + + git annex init \"ebook reader\" + +This detects the fact that it is working on a crippled filesystem, enables direct mode and disables ssh connection caching; up to now everything seems to be fine, but then + + git annex get $SOME_BOOK + +seems to work, downloads the file somewhere, but when I try to open $SOME_BOOK it is still the fake link, and the file has been downloaded in its destination, as if the repo wasn't in direct mode. + +I use version 4.20130723 on debian jessie +"""]] |