{"action":"created","issue":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/22","labels_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/22/comments","events_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/22/events","html_url":"https://github.com/ajoberstar/gradle-git/issues/22","id":13681334,"number":22,"title":"Repository search up current project folder","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ajoberstar/gradle-git/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ajoberstar/gradle-git/labels/grgit","name":"grgit","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2013-04-26T10:02:21Z","updated_at":"2015-09-04T22:45:26Z","closed_at":"2013-05-30T22:57:03Z","body":"In GitBase, it might be better to enable searching the repository folder up from and inclusive the current project folder."},"comment":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/comments/137873500","html_url":"https://github.com/ajoberstar/gradle-git/issues/22#issuecomment-137873500","issue_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/22","id":137873500,"user":{"login":"lennyk","id":4040241,"avatar_url":"https://avatars.githubusercontent.com/u/4040241?v=3","gravatar_id":"","url":"https://api.github.com/users/lennyk","html_url":"https://github.com/lennyk","followers_url":"https://api.github.com/users/lennyk/followers","following_url":"https://api.github.com/users/lennyk/following{/other_user}","gists_url":"https://api.github.com/users/lennyk/gists{/gist_id}","starred_url":"https://api.github.com/users/lennyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennyk/subscriptions","organizations_url":"https://api.github.com/users/lennyk/orgs","repos_url":"https://api.github.com/users/lennyk/repos","events_url":"https://api.github.com/users/lennyk/events{/privacy}","received_events_url":"https://api.github.com/users/lennyk/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T22:45:26Z","updated_at":"2015-09-04T22:45:26Z","body":"I was hoping to do this from gradle-git.  My current tack looks like this:\r\n\r\n```groovy\r\ntask gitMetadata(type: org.ajoberstar.gradle.git.tasks.GitBranchList) << {\r\n    repoPath = '..'\r\n}\r\n```\r\n\r\nbut I continue to get this error:\r\n\r\n```bash\r\n$ pwd\r\n/xxxx/my-repository-folder/my-project-folder\r\n\r\n$ gradle assemble\r\n\r\n...\r\n\r\n* What went wrong:\r\nExecution failed for task ':gitMetadata'.\r\n> org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found:\r\n/xxxx/my-repository-folder/my-project-folder\r\n```\r\n\r\nwhat am I missing?"}}