From 6dc6b4b7d9236a2ecbc3260945e0cd532a157c26 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 2 Oct 2017 11:58:31 -0400 Subject: you requested his old closed bugs not be deleted yet --- ...odule_replaces_.git_with_incorrect_symlink.mdwn | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 doc/bugs/use_of_annex_in_submodule_replaces_.git_with_incorrect_symlink.mdwn (limited to 'doc/bugs/use_of_annex_in_submodule_replaces_.git_with_incorrect_symlink.mdwn') diff --git a/doc/bugs/use_of_annex_in_submodule_replaces_.git_with_incorrect_symlink.mdwn b/doc/bugs/use_of_annex_in_submodule_replaces_.git_with_incorrect_symlink.mdwn new file mode 100644 index 000000000..43295e7a8 --- /dev/null +++ b/doc/bugs/use_of_annex_in_submodule_replaces_.git_with_incorrect_symlink.mdwn @@ -0,0 +1,49 @@ +### Please describe the problem. + +Created a temp repository with a submodule under 3rd/visloc referring to another annex via ssh + +[[!format sh """ + +# I have removed some output/wrong cmd calls, hopefully without side-effects + +hopa:/tmp/test +$> cat 3rd/visloc/.git +gitdir: ../../.git/modules/3rd/visloc + +$> git commit -m 'RF: ...' -a +[master (root-commit) fc37b4f] RF: ... + 2 files changed, 4 insertions(+) + create mode 100644 .gitmodules + create mode 160000 3rd/visloc + +$> ls -l 3rd/visloc/.git +-rw------- 1 yoh yoh 38 Feb 8 10:26 3rd/visloc/.git + +$> cat 3rd/visloc/.git +gitdir: ../../.git/modules/3rd/visloc + +$> cd 3rd/visloc/sub-01/rois + +$> git annex get * +fatal: Not a git repository: '../../.git' +git-annex: First run: git-annex init + +$> cd - +/tmp/test + +$> ls -l 3rd/visloc/.git +lrwxrwxrwx 1 yoh yoh 41 Feb 8 10:43 3rd/visloc/.git -> ../../../../../../.git/modules/3rd/visloc + +$> git annex version +git-annex version: 6.20160126+gitg65f4442-1~ndall+1 +build flags: Assistant Webapp Pairing Testsuite S3(multipartupload) WebDAV Inotify DBus DesktopNotify XMPP ConcurrentOutput DNS TDFA TorrentParser Feeds Quvi +key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL +remote types: git gcrypt S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external +local repository version: 5 +supported repository versions: 5 6 +upgrade supported from repository versions: 0 1 2 4 5 +"""]] + +[[!meta author=yoh]] + +> [[fixed|done]] -- cgit v1.2.3