{"action":"created","issue":{"url":"https://api.github.com/repos/ajoberstar/grgit/issues/64","labels_url":"https://api.github.com/repos/ajoberstar/grgit/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ajoberstar/grgit/issues/64/comments","events_url":"https://api.github.com/repos/ajoberstar/grgit/issues/64/events","html_url":"https://github.com/ajoberstar/grgit/issues/64","id":81447155,"number":64,"title":"openRepo from a sub directory","user":{"login":"facewindu","id":5922961,"avatar_url":"https://avatars.githubusercontent.com/u/5922961?v=3","gravatar_id":"","url":"https://api.github.com/users/facewindu","html_url":"https://github.com/facewindu","followers_url":"https://api.github.com/users/facewindu/followers","following_url":"https://api.github.com/users/facewindu/following{/other_user}","gists_url":"https://api.github.com/users/facewindu/gists{/gist_id}","starred_url":"https://api.github.com/users/facewindu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facewindu/subscriptions","organizations_url":"https://api.github.com/users/facewindu/orgs","repos_url":"https://api.github.com/users/facewindu/repos","events_url":"https://api.github.com/users/facewindu/events{/privacy}","received_events_url":"https://api.github.com/users/facewindu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ajoberstar/grgit/labels/enhancement","name":"enhancement","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ajoberstar/grgit/milestones/8","html_url":"https://github.com/ajoberstar/grgit/milestones/1.3.0","labels_url":"https://api.github.com/repos/ajoberstar/grgit/milestones/8/labels","id":1113516,"number":8,"title":"1.3.0","description":"","creator":{"login":"ajoberstar","id":486355,"avatar_url":"https://avatars.githubusercontent.com/u/486355?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoberstar","html_url":"https://github.com/ajoberstar","followers_url":"https://api.github.com/users/ajoberstar/followers","following_url":"https://api.github.com/users/ajoberstar/following{/other_user}","gists_url":"https://api.github.com/users/ajoberstar/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoberstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoberstar/subscriptions","organizations_url":"https://api.github.com/users/ajoberstar/orgs","repos_url":"https://api.github.com/users/ajoberstar/repos","events_url":"https://api.github.com/users/ajoberstar/events{/privacy}","received_events_url":"https://api.github.com/users/ajoberstar/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-05-16T19:55:44Z","updated_at":"2015-05-30T17:03:55Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-05-27T13:30:07Z","updated_at":"2015-05-30T17:04:37Z","closed_at":"2015-05-30T17:03:55Z","body":"I have the following git repo structure\r\n\r\nGIT_REPO\r\n |----- .git dir\r\n |----- sub-repo (eclipse proj)\r\n\r\nIf I perform Grgit.open('.') from within the sub-repo, I get an exception saying that the GIT repo cannot be found.\r\n\r\nShouldn't Grgit behave like JGit (and regular C git) on this subject, and walk through the parent directory to detect the Git repository ?"},"comment":{"url":"https://api.github.com/repos/ajoberstar/grgit/issues/comments/107065610","html_url":"https://github.com/ajoberstar/grgit/issues/64#issuecomment-107065610","issue_url":"https://api.github.com/repos/ajoberstar/grgit/issues/64","id":107065610,"user":{"login":"ajoberstar","id":486355,"avatar_url":"https://avatars.githubusercontent.com/u/486355?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoberstar","html_url":"https://github.com/ajoberstar","followers_url":"https://api.github.com/users/ajoberstar/followers","following_url":"https://api.github.com/users/ajoberstar/following{/other_user}","gists_url":"https://api.github.com/users/ajoberstar/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoberstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoberstar/subscriptions","organizations_url":"https://api.github.com/users/ajoberstar/orgs","repos_url":"https://api.github.com/users/ajoberstar/repos","events_url":"https://api.github.com/users/ajoberstar/events{/privacy}","received_events_url":"https://api.github.com/users/ajoberstar/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T17:04:37Z","updated_at":"2015-05-30T17:04:37Z","body":"Can you try 1.3.0-milestone.1 to see if that resolves your issue? (call `Grgit.open()` instead of `Grgit.open(dir: 'something')`)."}}