bug report from forum

This commit is contained in:
Joey Hess 2023-02-14 12:30:58 -04:00
parent 2b73662291
commit 4ed539dd40
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 23 additions and 0 deletions

View file

@ -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]]

View file

@ -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]]
"""]]