]> dgit.raspbian.org Git - git-annex.git/blob
7aedcb64dac929cac3e0982854f6ffdf6c5c2672
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 2"""
4  date="2019-09-18T17:26:37Z"
5  content="""
6 So, this bug is mistitled, it's not about locking, but about looking.
7
8 Or more clearly, something about file paths that end up pointing to a home directory.
9
10         fatal: Not a git repository: '../../../home/bids/.git' git-annex-shell: Not a git-annex or gcrypt repository.
11
12         Unable to run git-annex-shell on remote .
13
14 The second message used to be output by the code path warming up the ssh
15 connection to handle concurrency. That code path has since changed, and no
16 longer tries to run git-annex-shell there.
17
18 And, notice the "remote ." -- that means that 
19 `Git.repoDescribe (gitConfigRepo (remoteGitConfig gc))` produced "."
20
21 And the git-annex shell command was similarly passed a directory
22 of `Git.repoPath $ gitConfigRepo $ remoteGitConfig gc`
23
24 So, it was running "git-annex-shell ." which got converted to an absolute path by git-annex-shell
25 when CWD was $HOME, and then re-relevatized.
26
27 Clearly that code was pretty broken, apparently more than I knew at the time
28 I fixed it. I do think it's fixed though, by [[!commit 3dd43df9c2748df355314cd07b2bb8ebd30be69e]].
29 """]]