This commit is contained in:
parent
2a63e9405e
commit
0201e42ca3
1 changed files with 57 additions and 0 deletions
|
@ -0,0 +1,57 @@
|
||||||
|
### 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 submodule
|
Loading…
Add table
Reference in a new issue