{"action":"created","comment":{"url":"https://api.github.com/repos/atom/atom/pulls/comments/40914143","id":40914143,"diff_hunk":"@@ -56,6 +56,21 @@ describe \"GitRepositoryProvider\", ->\n           provider.repositoryForDirectory(directory).then (result) ->\n             expect(result).toBe null\n \n+    describe \"when specified a Directory with a valid gitfile-linked repository\", ->\n+      it \"returns a Promise that resolves to a GitRepository\", ->\n+        waitsForPromise ->\n+          provider = new GitRepositoryProvider atom.project\n+          gitDirPath = path.join(__dirname, 'fixtures/git/master.git')","path":"spec/git-repository-provider-spec.coffee","position":null,"original_position":8,"commit_id":"212886817e7fae2c59a14a8e4fdf7e19e8e859b5","original_commit_id":"7445857c821dce07e5f5a027628cf0d3fde04709","user":{"login":"phord","id":123908,"avatar_url":"https://avatars.githubusercontent.com/u/123908?v=3","gravatar_id":"","url":"https://api.github.com/users/phord","html_url":"https://github.com/phord","followers_url":"https://api.github.com/users/phord/followers","following_url":"https://api.github.com/users/phord/following{/other_user}","gists_url":"https://api.github.com/users/phord/gists{/gist_id}","starred_url":"https://api.github.com/users/phord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phord/subscriptions","organizations_url":"https://api.github.com/users/phord/orgs","repos_url":"https://api.github.com/users/phord/repos","events_url":"https://api.github.com/users/phord/events{/privacy}","received_events_url":"https://api.github.com/users/phord/received_events","type":"User","site_admin":false},"body":"I am happy to do so.","created_at":"2015-10-01T13:45:30Z","updated_at":"2015-10-01T13:45:30Z","html_url":"https://github.com/atom/atom/pull/8862#discussion_r40914143","pull_request_url":"https://api.github.com/repos/atom/atom/pulls/8862","_links":{"self":{"href":"https://api.github.com/repos/atom/atom/pulls/comments/40914143"},"html":{"href":"https://github.com/atom/atom/pull/8862#discussion_r40914143"},"pull_request":{"href":"https://api.github.com/repos/atom/atom/pulls/8862"}}},"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/8862","id":45481273,"html_url":"https://github.com/atom/atom/pull/8862","diff_url":"https://github.com/atom/atom/pull/8862.diff","patch_url":"https://github.com/atom/atom/pull/8862.patch","issue_url":"https://api.github.com/repos/atom/atom/issues/8862","number":8862,"state":"open","locked":false,"title":":bug: Teach Atom to read .git files","user":{"login":"phord","id":123908,"avatar_url":"https://avatars.githubusercontent.com/u/123908?v=3","gravatar_id":"","url":"https://api.github.com/users/phord","html_url":"https://github.com/phord","followers_url":"https://api.github.com/users/phord/followers","following_url":"https://api.github.com/users/phord/following{/other_user}","gists_url":"https://api.github.com/users/phord/gists{/gist_id}","starred_url":"https://api.github.com/users/phord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phord/subscriptions","organizations_url":"https://api.github.com/users/phord/orgs","repos_url":"https://api.github.com/users/phord/repos","events_url":"https://api.github.com/users/phord/events{/privacy}","received_events_url":"https://api.github.com/users/phord/received_events","type":"User","site_admin":false},"body":"This fixes part of #8168.  The git-worktree model still is not supported, but this is because it is so new that libgit2 doesn't know about it yet, either.  But the .git-file feature which is heavily used by submodules works with this fix.","created_at":"2015-09-19T18:02:07Z","updated_at":"2015-10-01T13:45:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a57cef206c5d23996719a90beb60478cb672f9dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/atom/pulls/8862/commits","review_comments_url":"https://api.github.com/repos/atom/atom/pulls/8862/comments","review_comment_url":"https://api.github.com/repos/atom/atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/atom/issues/8862/comments","statuses_url":"https://api.github.com/repos/atom/atom/statuses/212886817e7fae2c59a14a8e4fdf7e19e8e859b5","head":{"label":"phord:dot-git-files","ref":"dot-git-files","sha":"212886817e7fae2c59a14a8e4fdf7e19e8e859b5","user":{"login":"phord","id":123908,"avatar_url":"https://avatars.githubusercontent.com/u/123908?v=3","gravatar_id":"","url":"https://api.github.com/users/phord","html_url":"https://github.com/phord","followers_url":"https://api.github.com/users/phord/followers","following_url":"https://api.github.com/users/phord/following{/other_user}","gists_url":"https://api.github.com/users/phord/gists{/gist_id}","starred_url":"https://api.github.com/users/phord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phord/subscriptions","organizations_url":"https://api.github.com/users/phord/orgs","repos_url":"https://api.github.com/users/phord/repos","events_url":"https://api.github.com/users/phord/events{/privacy}","received_events_url":"https://api.github.com/users/phord/received_events","type":"User","site_admin":false},"repo":{"id":42743594,"name":"atom","full_name":"phord/atom","owner":{"login":"phord","id":123908,"avatar_url":"https://avatars.githubusercontent.com/u/123908?v=3","gravatar_id":"","url":"https://api.github.com/users/phord","html_url":"https://github.com/phord","followers_url":"https://api.github.com/users/phord/followers","following_url":"https://api.github.com/users/phord/following{/other_user}","gists_url":"https://api.github.com/users/phord/gists{/gist_id}","starred_url":"https://api.github.com/users/phord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phord/subscriptions","organizations_url":"https://api.github.com/users/phord/orgs","repos_url":"https://api.github.com/users/phord/repos","events_url":"https://api.github.com/users/phord/events{/privacy}","received_events_url":"https://api.github.com/users/phord/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phord/atom","description":"The hackable text editor","fork":true,"url":"https://api.github.com/repos/phord/atom","forks_url":"https://api.github.com/repos/phord/atom/forks","keys_url":"https://api.github.com/repos/phord/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phord/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phord/atom/teams","hooks_url":"https://api.github.com/repos/phord/atom/hooks","issue_events_url":"https://api.github.com/repos/phord/atom/issues/events{/number}","events_url":"https://api.github.com/repos/phord/atom/events","assignees_url":"https://api.github.com/repos/phord/atom/assignees{/user}","branches_url":"https://api.github.com/repos/phord/atom/branches{/branch}","tags_url":"https://api.github.com/repos/phord/atom/tags","blobs_url":"https://api.github.com/repos/phord/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phord/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phord/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/phord/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phord/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/phord/atom/languages","stargazers_url":"https://api.github.com/repos/phord/atom/stargazers","contributors_url":"https://api.github.com/repos/phord/atom/contributors","subscribers_url":"https://api.github.com/repos/phord/atom/subscribers","subscription_url":"https://api.github.com/repos/phord/atom/subscription","commits_url":"https://api.github.com/repos/phord/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/phord/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/phord/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/phord/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/phord/atom/contents/{+path}","compare_url":"https://api.github.com/repos/phord/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phord/atom/merges","archive_url":"https://api.github.com/repos/phord/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phord/atom/downloads","issues_url":"https://api.github.com/repos/phord/atom/issues{/number}","pulls_url":"https://api.github.com/repos/phord/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/phord/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/phord/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phord/atom/labels{/name}","releases_url":"https://api.github.com/repos/phord/atom/releases{/id}","created_at":"2015-09-18T19:40:50Z","updated_at":"2015-09-18T19:40:57Z","pushed_at":"2015-10-01T13:43:33Z","git_url":"git://github.com/phord/atom.git","ssh_url":"git@github.com:phord/atom.git","clone_url":"https://github.com/phord/atom.git","svn_url":"https://github.com/phord/atom","homepage":"https://atom.io","size":274800,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"82805d204e60a8e2ac4e463a885c181dead20925","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":3228505,"name":"atom","full_name":"atom/atom","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/atom","description":"The hackable text editor","fork":false,"url":"https://api.github.com/repos/atom/atom","forks_url":"https://api.github.com/repos/atom/atom/forks","keys_url":"https://api.github.com/repos/atom/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/atom/teams","hooks_url":"https://api.github.com/repos/atom/atom/hooks","issue_events_url":"https://api.github.com/repos/atom/atom/issues/events{/number}","events_url":"https://api.github.com/repos/atom/atom/events","assignees_url":"https://api.github.com/repos/atom/atom/assignees{/user}","branches_url":"https://api.github.com/repos/atom/atom/branches{/branch}","tags_url":"https://api.github.com/repos/atom/atom/tags","blobs_url":"https://api.github.com/repos/atom/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/atom/languages","stargazers_url":"https://api.github.com/repos/atom/atom/stargazers","contributors_url":"https://api.github.com/repos/atom/atom/contributors","subscribers_url":"https://api.github.com/repos/atom/atom/subscribers","subscription_url":"https://api.github.com/repos/atom/atom/subscription","commits_url":"https://api.github.com/repos/atom/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/atom/contents/{+path}","compare_url":"https://api.github.com/repos/atom/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/atom/merges","archive_url":"https://api.github.com/repos/atom/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/atom/downloads","issues_url":"https://api.github.com/repos/atom/atom/issues{/number}","pulls_url":"https://api.github.com/repos/atom/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/atom/labels{/name}","releases_url":"https://api.github.com/repos/atom/atom/releases{/id}","created_at":"2012-01-20T18:18:21Z","updated_at":"2015-10-01T13:36:24Z","pushed_at":"2015-10-01T13:43:33Z","git_url":"git://github.com/atom/atom.git","ssh_url":"git@github.com:atom/atom.git","clone_url":"https://github.com/atom/atom.git","svn_url":"https://github.com/atom/atom","homepage":"https://atom.io","size":365213,"stargazers_count":20501,"watchers_count":20501,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3490,"mirror_url":null,"open_issues_count":1395,"forks":3490,"open_issues":1395,"watchers":20501,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/atom/pulls/8862"},"html":{"href":"https://github.com/atom/atom/pull/8862"},"issue":{"href":"https://api.github.com/repos/atom/atom/issues/8862"},"comments":{"href":"https://api.github.com/repos/atom/atom/issues/8862/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/atom/pulls/8862/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/atom/pulls/8862/commits"},"statuses":{"href":"https://api.github.com/repos/atom/atom/statuses/212886817e7fae2c59a14a8e4fdf7e19e8e859b5"}}}}