{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/3369","repository_url":"https://api.github.com/repos/magit/magit","labels_url":"https://api.github.com/repos/magit/magit/issues/3369/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/3369/comments","events_url":"https://api.github.com/repos/magit/magit/issues/3369/events","html_url":"https://github.com/magit/magit/issues/3369","id":295868685,"number":3369,"title":"When magit-get is run inside a directory that doesn't exist, --global should be enforced","user":{"login":"vermiculus","id":2082195,"avatar_url":"https://avatars3.githubusercontent.com/u/2082195?v=4","gravatar_id":"","url":"https://api.github.com/users/vermiculus","html_url":"https://github.com/vermiculus","followers_url":"https://api.github.com/users/vermiculus/followers","following_url":"https://api.github.com/users/vermiculus/following{/other_user}","gists_url":"https://api.github.com/users/vermiculus/gists{/gist_id}","starred_url":"https://api.github.com/users/vermiculus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vermiculus/subscriptions","organizations_url":"https://api.github.com/users/vermiculus/orgs","repos_url":"https://api.github.com/users/vermiculus/repos","events_url":"https://api.github.com/users/vermiculus/events{/privacy}","received_events_url":"https://api.github.com/users/vermiculus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T13:20:31Z","updated_at":"2018-02-10T20:26:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"From vermiculus/magithub#281, `magit-get` will signal an error if it is run inside a directory that does not exist. I'll be fixing this downstream of course, but it's worth considering if `magit-get` should enforce the `--global` argument and run in a parent directory (or some appropriate other behavior) if `default-directory` does not exist."},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/364688915","html_url":"https://github.com/magit/magit/issues/3369#issuecomment-364688915","issue_url":"https://api.github.com/repos/magit/magit/issues/3369","id":364688915,"user":{"login":"tarsius","id":25046,"avatar_url":"https://avatars2.githubusercontent.com/u/25046?v=4","gravatar_id":"","url":"https://api.github.com/users/tarsius","html_url":"https://github.com/tarsius","followers_url":"https://api.github.com/users/tarsius/followers","following_url":"https://api.github.com/users/tarsius/following{/other_user}","gists_url":"https://api.github.com/users/tarsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tarsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarsius/subscriptions","organizations_url":"https://api.github.com/users/tarsius/orgs","repos_url":"https://api.github.com/users/tarsius/repos","events_url":"https://api.github.com/users/tarsius/events{/privacy}","received_events_url":"https://api.github.com/users/tarsius/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T20:26:17Z","updated_at":"2018-02-10T20:26:17Z","author_association":"OWNER","body":"I am skeptical. I think calling `magit-get` like that should be considered a bug and working around it instead of signaling an error just hides the issue. Actually I plan to make this and related functions raise an error in *more* situations. See #2744, which I am going to update now."}}
{"actor":{"display_login":"tarsius"}}