{"action":"created","issue":{"url":"https://api.github.com/repos/datalad/datalad/issues/2838","repository_url":"https://api.github.com/repos/datalad/datalad","labels_url":"https://api.github.com/repos/datalad/datalad/issues/2838/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad/issues/2838/comments","events_url":"https://api.github.com/repos/datalad/datalad/issues/2838/events","html_url":"https://github.com/datalad/datalad/pull/2838","id":360964571,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MDU0NjYz","number":2838,"title":"BF: annexrepo: Restore core.bare setting if custom command fails","user":{"login":"kyleam","id":1297788,"node_id":"MDQ6VXNlcjEyOTc3ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1297788?v=4","gravatar_id":"","url":"https://api.github.com/users/kyleam","html_url":"https://github.com/kyleam","followers_url":"https://api.github.com/users/kyleam/followers","following_url":"https://api.github.com/users/kyleam/following{/other_user}","gists_url":"https://api.github.com/users/kyleam/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleam/subscriptions","organizations_url":"https://api.github.com/users/kyleam/orgs","repos_url":"https://api.github.com/users/kyleam/repos","events_url":"https://api.github.com/users/kyleam/events{/privacy}","received_events_url":"https://api.github.com/users/kyleam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-17T17:18:57Z","updated_at":"2018-09-18T13:30:31Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/datalad/datalad/pulls/2838","html_url":"https://github.com/datalad/datalad/pull/2838","diff_url":"https://github.com/datalad/datalad/pull/2838.diff","patch_url":"https://github.com/datalad/datalad/pull/2838.patch"},"body":"Otherwise we end up in a confusing state where things like \"git status\" unexpectedly work in a direct mode repo.\r\n\r\nRe: #2836"},"comment":{"url":"https://api.github.com/repos/datalad/datalad/issues/comments/422393870","html_url":"https://github.com/datalad/datalad/pull/2838#issuecomment-422393870","issue_url":"https://api.github.com/repos/datalad/datalad/issues/2838","id":422393870,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjM5Mzg3MA==","user":{"login":"bpoldrack","id":10498301,"node_id":"MDQ6VXNlcjEwNDk4MzAx","avatar_url":"https://avatars2.githubusercontent.com/u/10498301?v=4","gravatar_id":"","url":"https://api.github.com/users/bpoldrack","html_url":"https://github.com/bpoldrack","followers_url":"https://api.github.com/users/bpoldrack/followers","following_url":"https://api.github.com/users/bpoldrack/following{/other_user}","gists_url":"https://api.github.com/users/bpoldrack/gists{/gist_id}","starred_url":"https://api.github.com/users/bpoldrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpoldrack/subscriptions","organizations_url":"https://api.github.com/users/bpoldrack/orgs","repos_url":"https://api.github.com/users/bpoldrack/repos","events_url":"https://api.github.com/users/bpoldrack/events{/privacy}","received_events_url":"https://api.github.com/users/bpoldrack/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T13:30:31Z","updated_at":"2018-09-18T13:30:31Z","author_association":"MEMBER","body":"Exactly. So apparently it was set within the submodules by a *failing* command. And in that sense it seems to worked only by accident before your change. That's pretty f***** up.\r\nGenerally the issue is, that git itself does the recursion in many cases (most notably `status` and `diff`). And when calling itself recursively it \"looses\" per-call settings like `--worktree` for those recursive calls. On top of that since 2.9 it ignores `-c core.bare=False` altogether, which required this workaround."}}
{"actor":{"display_login":"bpoldrack"}}