{"action":"created","comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/comments/23055110","id":23055110,"diff_hunk":"@@ -304,6 +304,7 @@ def dependencies_to_fetch\n \n           if update_mode == :all\n             deps_to_fetch = deps_with_external_source\n+            deps_to_fetch -= deps_to_fetch.select{ |dep| !dep.external_source[:commit].nil? && !checkout_requires_update?(dep) }\n           else\n             deps_to_fetch = deps_with_external_source.select { |dep| pods_to_fetch.include?(dep.name) }","path":"lib/cocoapods/installer/analyzer.rb","position":6,"original_position":6,"commit_id":"131218f1738b53b2cc5c981ed444fc257d06e856","original_commit_id":"131218f1738b53b2cc5c981ed444fc257d06e856","user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"body":"the logic also needs to be duplicated here","created_at":"2015-01-16T00:12:29Z","updated_at":"2015-01-16T00:12:29Z","html_url":"https://github.com/CocoaPods/CocoaPods/pull/2959#discussion_r23055110","pull_request_url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959","_links":{"self":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/comments/23055110"},"html":{"href":"https://github.com/CocoaPods/CocoaPods/pull/2959#discussion_r23055110"},"pull_request":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959"}}},"pull_request":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959","id":26412710,"html_url":"https://github.com/CocoaPods/CocoaPods/pull/2959","diff_url":"https://github.com/CocoaPods/CocoaPods/pull/2959.diff","patch_url":"https://github.com/CocoaPods/CocoaPods/pull/2959.patch","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2959","number":2959,"state":"open","locked":false,"title":"Don't refresh externals deps when pinned to a commit we already have","user":{"login":"tspacek","id":237939,"avatar_url":"https://avatars.githubusercontent.com/u/237939?v=3","gravatar_id":"","url":"https://api.github.com/users/tspacek","html_url":"https://github.com/tspacek","followers_url":"https://api.github.com/users/tspacek/followers","following_url":"https://api.github.com/users/tspacek/following{/other_user}","gists_url":"https://api.github.com/users/tspacek/gists{/gist_id}","starred_url":"https://api.github.com/users/tspacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspacek/subscriptions","organizations_url":"https://api.github.com/users/tspacek/orgs","repos_url":"https://api.github.com/users/tspacek/repos","events_url":"https://api.github.com/users/tspacek/events{/privacy}","received_events_url":"https://api.github.com/users/tspacek/received_events","type":"User","site_admin":false},"body":"First draft at addressing https://github.com/CocoaPods/CocoaPods/issues/2949","created_at":"2014-12-20T05:57:00Z","updated_at":"2015-01-16T00:12:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4a8358b3cd7f2e5e0ff75583c342669f8b691c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959/commits","review_comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959/comments","review_comment_url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2959/comments","statuses_url":"https://api.github.com/repos/CocoaPods/CocoaPods/statuses/131218f1738b53b2cc5c981ed444fc257d06e856","head":{"label":"tspacek:feature/avoid-refresh-pinned-commit","ref":"feature/avoid-refresh-pinned-commit","sha":"131218f1738b53b2cc5c981ed444fc257d06e856","user":{"login":"tspacek","id":237939,"avatar_url":"https://avatars.githubusercontent.com/u/237939?v=3","gravatar_id":"","url":"https://api.github.com/users/tspacek","html_url":"https://github.com/tspacek","followers_url":"https://api.github.com/users/tspacek/followers","following_url":"https://api.github.com/users/tspacek/following{/other_user}","gists_url":"https://api.github.com/users/tspacek/gists{/gist_id}","starred_url":"https://api.github.com/users/tspacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspacek/subscriptions","organizations_url":"https://api.github.com/users/tspacek/orgs","repos_url":"https://api.github.com/users/tspacek/repos","events_url":"https://api.github.com/users/tspacek/events{/privacy}","received_events_url":"https://api.github.com/users/tspacek/received_events","type":"User","site_admin":false},"repo":{"id":28258311,"name":"CocoaPods","full_name":"tspacek/CocoaPods","owner":{"login":"tspacek","id":237939,"avatar_url":"https://avatars.githubusercontent.com/u/237939?v=3","gravatar_id":"","url":"https://api.github.com/users/tspacek","html_url":"https://github.com/tspacek","followers_url":"https://api.github.com/users/tspacek/followers","following_url":"https://api.github.com/users/tspacek/following{/other_user}","gists_url":"https://api.github.com/users/tspacek/gists{/gist_id}","starred_url":"https://api.github.com/users/tspacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspacek/subscriptions","organizations_url":"https://api.github.com/users/tspacek/orgs","repos_url":"https://api.github.com/users/tspacek/repos","events_url":"https://api.github.com/users/tspacek/events{/privacy}","received_events_url":"https://api.github.com/users/tspacek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tspacek/CocoaPods","description":"The Cocoa Dependency Manager.","fork":true,"url":"https://api.github.com/repos/tspacek/CocoaPods","forks_url":"https://api.github.com/repos/tspacek/CocoaPods/forks","keys_url":"https://api.github.com/repos/tspacek/CocoaPods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tspacek/CocoaPods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tspacek/CocoaPods/teams","hooks_url":"https://api.github.com/repos/tspacek/CocoaPods/hooks","issue_events_url":"https://api.github.com/repos/tspacek/CocoaPods/issues/events{/number}","events_url":"https://api.github.com/repos/tspacek/CocoaPods/events","assignees_url":"https://api.github.com/repos/tspacek/CocoaPods/assignees{/user}","branches_url":"https://api.github.com/repos/tspacek/CocoaPods/branches{/branch}","tags_url":"https://api.github.com/repos/tspacek/CocoaPods/tags","blobs_url":"https://api.github.com/repos/tspacek/CocoaPods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tspacek/CocoaPods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tspacek/CocoaPods/git/refs{/sha}","trees_url":"https://api.github.com/repos/tspacek/CocoaPods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tspacek/CocoaPods/statuses/{sha}","languages_url":"https://api.github.com/repos/tspacek/CocoaPods/languages","stargazers_url":"https://api.github.com/repos/tspacek/CocoaPods/stargazers","contributors_url":"https://api.github.com/repos/tspacek/CocoaPods/contributors","subscribers_url":"https://api.github.com/repos/tspacek/CocoaPods/subscribers","subscription_url":"https://api.github.com/repos/tspacek/CocoaPods/subscription","commits_url":"https://api.github.com/repos/tspacek/CocoaPods/commits{/sha}","git_commits_url":"https://api.github.com/repos/tspacek/CocoaPods/git/commits{/sha}","comments_url":"https://api.github.com/repos/tspacek/CocoaPods/comments{/number}","issue_comment_url":"https://api.github.com/repos/tspacek/CocoaPods/issues/comments/{number}","contents_url":"https://api.github.com/repos/tspacek/CocoaPods/contents/{+path}","compare_url":"https://api.github.com/repos/tspacek/CocoaPods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tspacek/CocoaPods/merges","archive_url":"https://api.github.com/repos/tspacek/CocoaPods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tspacek/CocoaPods/downloads","issues_url":"https://api.github.com/repos/tspacek/CocoaPods/issues{/number}","pulls_url":"https://api.github.com/repos/tspacek/CocoaPods/pulls{/number}","milestones_url":"https://api.github.com/repos/tspacek/CocoaPods/milestones{/number}","notifications_url":"https://api.github.com/repos/tspacek/CocoaPods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tspacek/CocoaPods/labels{/name}","releases_url":"https://api.github.com/repos/tspacek/CocoaPods/releases{/id}","created_at":"2014-12-20T05:47:17Z","updated_at":"2014-12-20T05:47:19Z","pushed_at":"2014-12-20T06:13:43Z","git_url":"git://github.com/tspacek/CocoaPods.git","ssh_url":"git@github.com:tspacek/CocoaPods.git","clone_url":"https://github.com/tspacek/CocoaPods.git","svn_url":"https://github.com/tspacek/CocoaPods","homepage":"cocoapods.org","size":35415,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"CocoaPods:master","ref":"master","sha":"d574946507e6a3d2e876c122430b711f49e833a7","user":{"login":"CocoaPods","id":1189714,"avatar_url":"https://avatars.githubusercontent.com/u/1189714?v=3","gravatar_id":"","url":"https://api.github.com/users/CocoaPods","html_url":"https://github.com/CocoaPods","followers_url":"https://api.github.com/users/CocoaPods/followers","following_url":"https://api.github.com/users/CocoaPods/following{/other_user}","gists_url":"https://api.github.com/users/CocoaPods/gists{/gist_id}","starred_url":"https://api.github.com/users/CocoaPods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CocoaPods/subscriptions","organizations_url":"https://api.github.com/users/CocoaPods/orgs","repos_url":"https://api.github.com/users/CocoaPods/repos","events_url":"https://api.github.com/users/CocoaPods/events{/privacy}","received_events_url":"https://api.github.com/users/CocoaPods/received_events","type":"Organization","site_admin":false},"repo":{"id":2203645,"name":"CocoaPods","full_name":"CocoaPods/CocoaPods","owner":{"login":"CocoaPods","id":1189714,"avatar_url":"https://avatars.githubusercontent.com/u/1189714?v=3","gravatar_id":"","url":"https://api.github.com/users/CocoaPods","html_url":"https://github.com/CocoaPods","followers_url":"https://api.github.com/users/CocoaPods/followers","following_url":"https://api.github.com/users/CocoaPods/following{/other_user}","gists_url":"https://api.github.com/users/CocoaPods/gists{/gist_id}","starred_url":"https://api.github.com/users/CocoaPods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CocoaPods/subscriptions","organizations_url":"https://api.github.com/users/CocoaPods/orgs","repos_url":"https://api.github.com/users/CocoaPods/repos","events_url":"https://api.github.com/users/CocoaPods/events{/privacy}","received_events_url":"https://api.github.com/users/CocoaPods/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CocoaPods/CocoaPods","description":"The Cocoa Dependency Manager.","fork":false,"url":"https://api.github.com/repos/CocoaPods/CocoaPods","forks_url":"https://api.github.com/repos/CocoaPods/CocoaPods/forks","keys_url":"https://api.github.com/repos/CocoaPods/CocoaPods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CocoaPods/CocoaPods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CocoaPods/CocoaPods/teams","hooks_url":"https://api.github.com/repos/CocoaPods/CocoaPods/hooks","issue_events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/events{/number}","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/events","assignees_url":"https://api.github.com/repos/CocoaPods/CocoaPods/assignees{/user}","branches_url":"https://api.github.com/repos/CocoaPods/CocoaPods/branches{/branch}","tags_url":"https://api.github.com/repos/CocoaPods/CocoaPods/tags","blobs_url":"https://api.github.com/repos/CocoaPods/CocoaPods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CocoaPods/CocoaPods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CocoaPods/CocoaPods/git/refs{/sha}","trees_url":"https://api.github.com/repos/CocoaPods/CocoaPods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CocoaPods/CocoaPods/statuses/{sha}","languages_url":"https://api.github.com/repos/CocoaPods/CocoaPods/languages","stargazers_url":"https://api.github.com/repos/CocoaPods/CocoaPods/stargazers","contributors_url":"https://api.github.com/repos/CocoaPods/CocoaPods/contributors","subscribers_url":"https://api.github.com/repos/CocoaPods/CocoaPods/subscribers","subscription_url":"https://api.github.com/repos/CocoaPods/CocoaPods/subscription","commits_url":"https://api.github.com/repos/CocoaPods/CocoaPods/commits{/sha}","git_commits_url":"https://api.github.com/repos/CocoaPods/CocoaPods/git/commits{/sha}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/comments{/number}","issue_comment_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/{number}","contents_url":"https://api.github.com/repos/CocoaPods/CocoaPods/contents/{+path}","compare_url":"https://api.github.com/repos/CocoaPods/CocoaPods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CocoaPods/CocoaPods/merges","archive_url":"https://api.github.com/repos/CocoaPods/CocoaPods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CocoaPods/CocoaPods/downloads","issues_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues{/number}","pulls_url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls{/number}","milestones_url":"https://api.github.com/repos/CocoaPods/CocoaPods/milestones{/number}","notifications_url":"https://api.github.com/repos/CocoaPods/CocoaPods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels{/name}","releases_url":"https://api.github.com/repos/CocoaPods/CocoaPods/releases{/id}","created_at":"2011-08-14T00:10:53Z","updated_at":"2015-01-16T00:07:37Z","pushed_at":"2015-01-16T00:07:37Z","git_url":"git://github.com/CocoaPods/CocoaPods.git","ssh_url":"git@github.com:CocoaPods/CocoaPods.git","clone_url":"https://github.com/CocoaPods/CocoaPods.git","svn_url":"https://github.com/CocoaPods/CocoaPods","homepage":"cocoapods.org","size":51328,"stargazers_count":5037,"watchers_count":5037,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":870,"mirror_url":null,"open_issues_count":174,"forks":870,"open_issues":174,"watchers":5037,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959"},"html":{"href":"https://github.com/CocoaPods/CocoaPods/pull/2959"},"issue":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2959"},"comments":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2959/comments"},"review_comments":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959/comments"},"review_comment":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/2959/commits"},"statuses":{"href":"https://api.github.com/repos/CocoaPods/CocoaPods/statuses/131218f1738b53b2cc5c981ed444fc257d06e856"}}}}