diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnx8kHW66N3BqmkVpgtXDlYMvr8TJ5VvfY <Yaroslav@web> | 2015-02-23 21:13:00 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-02-23 21:13:00 +0000 |
commit | bc252fe919054dbff17889f858730daaf2bf053d (patch) | |
tree | 496bfcb6665ef3ec843b6da33e1ee2da9e018dc5 /doc/bugs | |
parent | 61808a07cc3476b4983aaf9cca00094de2ce5008 (diff) |
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/downloads_load___40__from_url__41___to_incorrect_directory_in_a_submodule.mdwn | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/bugs/downloads_load___40__from_url__41___to_incorrect_directory_in_a_submodule.mdwn b/doc/bugs/downloads_load___40__from_url__41___to_incorrect_directory_in_a_submodule.mdwn new file mode 100644 index 000000000..43644aaa6 --- /dev/null +++ b/doc/bugs/downloads_load___40__from_url__41___to_incorrect_directory_in_a_submodule.mdwn @@ -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 |