{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/2157","labels_url":"https://api.github.com/repos/magit/magit/issues/2157/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/2157/comments","events_url":"https://api.github.com/repos/magit/magit/issues/2157/events","html_url":"https://github.com/magit/magit/pull/2157","id":99911472,"number":2157,"title":"Allow switching to toplevel directory from a subdirectory of repo.","user":{"login":"thierryvolpiatto","id":1533939,"avatar_url":"https://avatars.githubusercontent.com/u/1533939?v=3","gravatar_id":"","url":"https://api.github.com/users/thierryvolpiatto","html_url":"https://github.com/thierryvolpiatto","followers_url":"https://api.github.com/users/thierryvolpiatto/followers","following_url":"https://api.github.com/users/thierryvolpiatto/following{/other_user}","gists_url":"https://api.github.com/users/thierryvolpiatto/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryvolpiatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryvolpiatto/subscriptions","organizations_url":"https://api.github.com/users/thierryvolpiatto/orgs","repos_url":"https://api.github.com/users/thierryvolpiatto/repos","events_url":"https://api.github.com/users/thierryvolpiatto/events{/privacy}","received_events_url":"https://api.github.com/users/thierryvolpiatto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-09T16:29:51Z","updated_at":"2015-08-09T16:56:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/magit/magit/pulls/2157","html_url":"https://github.com/magit/magit/pull/2157","diff_url":"https://github.com/magit/magit/pull/2157.diff","patch_url":"https://github.com/magit/magit/pull/2157.patch"},"body":"Hi, \r\n\r\nwith 1.4.2 I was able to open magit-status from helm, now it is possible only from toplevel directory.\r\nNow I am prompted for creation of a new repo:\r\n\r\n.../github/magit/ is a repository.  Create another in .../github/magit/lisp/? (y or n)\r\n\r\nI added a new var to not be prompted when toplevel dir exists, otherwise if it doesn't exists\r\nyou are anyway prompted.\r\n\r\nPerhaps you will want to change the var name which is not the best, I hope also my changes don't modify the original behavior too much.\r\n\r\nThanks.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/129216721","html_url":"https://github.com/magit/magit/pull/2157#issuecomment-129216721","issue_url":"https://api.github.com/repos/magit/magit/issues/2157","id":129216721,"user":{"login":"thierryvolpiatto","id":1533939,"avatar_url":"https://avatars.githubusercontent.com/u/1533939?v=3","gravatar_id":"","url":"https://api.github.com/users/thierryvolpiatto","html_url":"https://github.com/thierryvolpiatto","followers_url":"https://api.github.com/users/thierryvolpiatto/followers","following_url":"https://api.github.com/users/thierryvolpiatto/following{/other_user}","gists_url":"https://api.github.com/users/thierryvolpiatto/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryvolpiatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryvolpiatto/subscriptions","organizations_url":"https://api.github.com/users/thierryvolpiatto/orgs","repos_url":"https://api.github.com/users/thierryvolpiatto/repos","events_url":"https://api.github.com/users/thierryvolpiatto/events{/privacy}","received_events_url":"https://api.github.com/users/thierryvolpiatto/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T16:56:00Z","updated_at":"2015-08-09T16:56:00Z","body":"\nJonas Bernoulli <notifications@github.com> writes:\n\n> I don't know how helm calls magit-status but unless it does so using\n> call-interactively then it should be using magit-status-internal\n> instead (which is a misnomer, it should be called\n> magit-status-non-interactive or something like that).\n>\n> Have you tried using that function?\n\nNo, will try soon, thanks.\n\n-- \nThierry\nGet my Gnupg key:\ngpg --keyserver pgp.mit.edu --recv-keys 59F29997 \n"}}