blob: 7b219e9266fcd960259315e821a28113406af108 (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
### Please describe the problem.
downloads load to under parent's repository .git/ directory, thus making it unreachable since original symlinks would point within current directory (rightfully)
### What version of git-annex are you using? On what operating system?
Debian jessie/sid -- see transcript
### Please provide any additional information below.
[[!format sh """
> git clone --recurse git://github.com/yarikoptic/datalad -b nf-test-repos
...
> cd datalad/datalad/tests/testrepos/basic/r1
> ls -l test-annex.dat
lrwxrwxrwx 1 yoh yoh 186 Feb 23 15:56 test-annex.dat -> .git/annex/objects/zk/71/SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b.dat/SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b.dat
> git co master
Switched to branch 'master'
$> git annex get test-annex.dat
(merging origin/git-annex into git-annex...)
(recording state in git...)
get test-annex.dat (from web...)
../../../../../.git/modules/datalad/te 100%[=============================================================================>] 4 --.-KB/s in 0s
ok
(recording state in git...)
# indeed upstairs
$> ls -l ../../../../../.git/modules/datalad/tests/testrepos/modules/basic/r1/annex/objects/zk/71/SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca
38c9a83f5b1dd8e5d3b.dat/SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b.dat
-r-------- 1 yoh yoh 4 Feb 23 15:57 ../../../../../.git/modules/datalad/tests/testrepos/modules/basic/r1/annex/objects/zk/71/SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b.dat/SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b.dat
$> acpolicy git-annex
git-annex:
Installed: 5.20150205+git57-gc05b522-1~nd80+1
Candidate: 5.20150205+git57-gc05b522-1~nd1
Version table:
*** 5.20150205+git57-gc05b522-1~nd80+1 0
500 http://neuro.debian.net/debian-devel/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
$> acpolicy git
git:
Installed: 1:2.1.4-2.1
Candidate: 1:2.1.4-2.1
Version table:
1:2.1.4+next.20141218-2 0
300 http://http.debian.net/debian/ experimental/main amd64 Packages
*** 1:2.1.4-2.1 0
900 http://http.debian.net/debian/ jessie/main amd64 Packages
600 http://http.debian.net/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status
"""]]
and as a result we have no load reachable in this double-nested submodulea
> This is a duplicate of <http://git-annex.branchable.com/bugs/Git_annexed_files_symlink_are_wrong_when_submodule_is_not_in_the_same_path/>. [[done]] --[[Joey]]
|