bug report from forum
authorJoey Hess <joeyh@joeyh.name>
Tue, 14 Feb 2023 16:30:58 +0000 (12:30 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 14 Feb 2023 16:30:58 +0000 (12:30 -0400)
doc/bugs/bare_remote_safe_directory.mdwn [new file with mode: 0644]
doc/forum/remote_bare_repo_is_invisible_due_to_+__47__.git/comment_5_6863faa0a64ff72abcf82435bfabf7b0._comment [new file with mode: 0644]

diff --git a/doc/bugs/bare_remote_safe_directory.mdwn b/doc/bugs/bare_remote_safe_directory.mdwn
new file mode 100644 (file)
index 0000000..5c8622c
--- /dev/null
@@ -0,0 +1,13 @@
+    git init foo.git
+    cd foo.git
+    git-annex init
+    cd ..
+    git clone foo.git bar
+    sudo chown root.root foo.git
+    cd bar
+    git-annex init
+    init  fatal: not a git repository: /tmp/foo.git/.git'
+
+This is specific to bare git remotes, for non-bare it 
+detects and warns that safe.directory is needed to use the
+remote. --[[Joey]]
diff --git a/doc/forum/remote_bare_repo_is_invisible_due_to_+__47__.git/comment_5_6863faa0a64ff72abcf82435bfabf7b0._comment b/doc/forum/remote_bare_repo_is_invisible_due_to_+__47__.git/comment_5_6863faa0a64ff72abcf82435bfabf7b0._comment
new file mode 100644 (file)
index 0000000..2ace0d9
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2023-02-14T16:19:33Z"
+ content="""
+Hmm, git-annex dealt with this change to git back in version 10.20220525.
+
+But, it seems it didn't deal with this specific case of a bare repo used as
+a remote. Opened a bug: [[bugs/bare_remote_safe_directory]]
+"""]]