File: comment_11_1c79c93f4b17cfc354ab920e3775cc60._comment

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (26 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
"""]]