{"action":"created","comment":{"url":"https://api.github.com/repos/GitTools/GitVersion/pulls/comments/85413653","pull_request_review_id":6132836,"id":85413653,"diff_hunk":"@@ -37,9 +37,6 @@ public class BranchConfigurationCalculator\n \n                 return keyValuePair;\n             }\n-\n-            const string format = \"Multiple branch configurations match the current branch branchName of '{0}'. Matching configurations: '{1}'\";\n-            throw new Exception(string.Format(format, currentBranch.FriendlyName, string.Join(\", \", matchingBranches.Select(b => b.Key))));","path":"src/GitVersionCore/BranchConfigurationCalculator.cs","position":15,"original_position":15,"commit_id":"75230439f85d21feff7cb96ee972fa2160705809","original_commit_id":"75230439f85d21feff7cb96ee972fa2160705809","user":{"login":"asbjornu","id":12283,"avatar_url":"https://avatars.githubusercontent.com/u/12283?v=3","gravatar_id":"","url":"https://api.github.com/users/asbjornu","html_url":"https://github.com/asbjornu","followers_url":"https://api.github.com/users/asbjornu/followers","following_url":"https://api.github.com/users/asbjornu/following{/other_user}","gists_url":"https://api.github.com/users/asbjornu/gists{/gist_id}","starred_url":"https://api.github.com/users/asbjornu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asbjornu/subscriptions","organizations_url":"https://api.github.com/users/asbjornu/orgs","repos_url":"https://api.github.com/users/asbjornu/repos","events_url":"https://api.github.com/users/asbjornu/events{/privacy}","received_events_url":"https://api.github.com/users/asbjornu/received_events","type":"User","site_admin":false},"body":"It would probably be nice to know that there were multiple matches, even though it now doesn't fail.","created_at":"2016-10-27T19:51:07Z","updated_at":"2016-10-27T19:51:07Z","html_url":"https://github.com/GitTools/GitVersion/pull/1070#discussion_r85413653","pull_request_url":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070","_links":{"self":{"href":"https://api.github.com/repos/GitTools/GitVersion/pulls/comments/85413653"},"html":{"href":"https://github.com/GitTools/GitVersion/pull/1070#discussion_r85413653"},"pull_request":{"href":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070"}}},"pull_request":{"url":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070","id":90448514,"html_url":"https://github.com/GitTools/GitVersion/pull/1070","diff_url":"https://github.com/GitTools/GitVersion/pull/1070.diff","patch_url":"https://github.com/GitTools/GitVersion/pull/1070.patch","issue_url":"https://api.github.com/repos/GitTools/GitVersion/issues/1070","number":1070,"state":"open","locked":false,"title":"Use the first matched branch configuration","user":{"login":"cvpcs","id":271512,"avatar_url":"https://avatars.githubusercontent.com/u/271512?v=3","gravatar_id":"","url":"https://api.github.com/users/cvpcs","html_url":"https://github.com/cvpcs","followers_url":"https://api.github.com/users/cvpcs/followers","following_url":"https://api.github.com/users/cvpcs/following{/other_user}","gists_url":"https://api.github.com/users/cvpcs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvpcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvpcs/subscriptions","organizations_url":"https://api.github.com/users/cvpcs/orgs","repos_url":"https://api.github.com/users/cvpcs/repos","events_url":"https://api.github.com/users/cvpcs/events{/privacy}","received_events_url":"https://api.github.com/users/cvpcs/received_events","type":"User","site_admin":false},"body":"This change causes GitVersion to allow multiple branch configurations to match the current branch, and instead of throwing an exception it will use the first matching configuration that was found.\r\n\r\nFixes #881 ","created_at":"2016-10-21T21:39:40Z","updated_at":"2016-10-27T19:51:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19153a37101cc3eb9f95d4724bc60cc5c5bca8dc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070/commits","review_comments_url":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070/comments","review_comment_url":"https://api.github.com/repos/GitTools/GitVersion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GitTools/GitVersion/issues/1070/comments","statuses_url":"https://api.github.com/repos/GitTools/GitVersion/statuses/75230439f85d21feff7cb96ee972fa2160705809","head":{"label":"cvpcs:feature/MatchFirstBranchConfig","ref":"feature/MatchFirstBranchConfig","sha":"75230439f85d21feff7cb96ee972fa2160705809","user":{"login":"cvpcs","id":271512,"avatar_url":"https://avatars.githubusercontent.com/u/271512?v=3","gravatar_id":"","url":"https://api.github.com/users/cvpcs","html_url":"https://github.com/cvpcs","followers_url":"https://api.github.com/users/cvpcs/followers","following_url":"https://api.github.com/users/cvpcs/following{/other_user}","gists_url":"https://api.github.com/users/cvpcs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvpcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvpcs/subscriptions","organizations_url":"https://api.github.com/users/cvpcs/orgs","repos_url":"https://api.github.com/users/cvpcs/repos","events_url":"https://api.github.com/users/cvpcs/events{/privacy}","received_events_url":"https://api.github.com/users/cvpcs/received_events","type":"User","site_admin":false},"repo":{"id":71596931,"name":"GitVersion","full_name":"cvpcs/GitVersion","owner":{"login":"cvpcs","id":271512,"avatar_url":"https://avatars.githubusercontent.com/u/271512?v=3","gravatar_id":"","url":"https://api.github.com/users/cvpcs","html_url":"https://github.com/cvpcs","followers_url":"https://api.github.com/users/cvpcs/followers","following_url":"https://api.github.com/users/cvpcs/following{/other_user}","gists_url":"https://api.github.com/users/cvpcs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvpcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvpcs/subscriptions","organizations_url":"https://api.github.com/users/cvpcs/orgs","repos_url":"https://api.github.com/users/cvpcs/repos","events_url":"https://api.github.com/users/cvpcs/events{/privacy}","received_events_url":"https://api.github.com/users/cvpcs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cvpcs/GitVersion","description":"Easy Semantic Versioning (http://semver.org) for projects using Git","fork":true,"url":"https://api.github.com/repos/cvpcs/GitVersion","forks_url":"https://api.github.com/repos/cvpcs/GitVersion/forks","keys_url":"https://api.github.com/repos/cvpcs/GitVersion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvpcs/GitVersion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvpcs/GitVersion/teams","hooks_url":"https://api.github.com/repos/cvpcs/GitVersion/hooks","issue_events_url":"https://api.github.com/repos/cvpcs/GitVersion/issues/events{/number}","events_url":"https://api.github.com/repos/cvpcs/GitVersion/events","assignees_url":"https://api.github.com/repos/cvpcs/GitVersion/assignees{/user}","branches_url":"https://api.github.com/repos/cvpcs/GitVersion/branches{/branch}","tags_url":"https://api.github.com/repos/cvpcs/GitVersion/tags","blobs_url":"https://api.github.com/repos/cvpcs/GitVersion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvpcs/GitVersion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvpcs/GitVersion/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvpcs/GitVersion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvpcs/GitVersion/statuses/{sha}","languages_url":"https://api.github.com/repos/cvpcs/GitVersion/languages","stargazers_url":"https://api.github.com/repos/cvpcs/GitVersion/stargazers","contributors_url":"https://api.github.com/repos/cvpcs/GitVersion/contributors","subscribers_url":"https://api.github.com/repos/cvpcs/GitVersion/subscribers","subscription_url":"https://api.github.com/repos/cvpcs/GitVersion/subscription","commits_url":"https://api.github.com/repos/cvpcs/GitVersion/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvpcs/GitVersion/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvpcs/GitVersion/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvpcs/GitVersion/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvpcs/GitVersion/contents/{+path}","compare_url":"https://api.github.com/repos/cvpcs/GitVersion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvpcs/GitVersion/merges","archive_url":"https://api.github.com/repos/cvpcs/GitVersion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvpcs/GitVersion/downloads","issues_url":"https://api.github.com/repos/cvpcs/GitVersion/issues{/number}","pulls_url":"https://api.github.com/repos/cvpcs/GitVersion/pulls{/number}","milestones_url":"https://api.github.com/repos/cvpcs/GitVersion/milestones{/number}","notifications_url":"https://api.github.com/repos/cvpcs/GitVersion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvpcs/GitVersion/labels{/name}","releases_url":"https://api.github.com/repos/cvpcs/GitVersion/releases{/id}","deployments_url":"https://api.github.com/repos/cvpcs/GitVersion/deployments","created_at":"2016-10-21T21:07:55Z","updated_at":"2016-10-21T21:07:57Z","pushed_at":"2016-10-21T21:38:21Z","git_url":"git://github.com/cvpcs/GitVersion.git","ssh_url":"git@github.com:cvpcs/GitVersion.git","clone_url":"https://github.com/cvpcs/GitVersion.git","svn_url":"https://github.com/cvpcs/GitVersion","homepage":"http://gitversion.readthedocs.org/en/latest/","size":8068,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"GitTools:master","ref":"master","sha":"3bdcd899530b4e9b37d13639f317da04a749e728","user":{"login":"GitTools","id":11839771,"avatar_url":"https://avatars.githubusercontent.com/u/11839771?v=3","gravatar_id":"","url":"https://api.github.com/users/GitTools","html_url":"https://github.com/GitTools","followers_url":"https://api.github.com/users/GitTools/followers","following_url":"https://api.github.com/users/GitTools/following{/other_user}","gists_url":"https://api.github.com/users/GitTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GitTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitTools/subscriptions","organizations_url":"https://api.github.com/users/GitTools/orgs","repos_url":"https://api.github.com/users/GitTools/repos","events_url":"https://api.github.com/users/GitTools/events{/privacy}","received_events_url":"https://api.github.com/users/GitTools/received_events","type":"Organization","site_admin":false},"repo":{"id":12399790,"name":"GitVersion","full_name":"GitTools/GitVersion","owner":{"login":"GitTools","id":11839771,"avatar_url":"https://avatars.githubusercontent.com/u/11839771?v=3","gravatar_id":"","url":"https://api.github.com/users/GitTools","html_url":"https://github.com/GitTools","followers_url":"https://api.github.com/users/GitTools/followers","following_url":"https://api.github.com/users/GitTools/following{/other_user}","gists_url":"https://api.github.com/users/GitTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GitTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitTools/subscriptions","organizations_url":"https://api.github.com/users/GitTools/orgs","repos_url":"https://api.github.com/users/GitTools/repos","events_url":"https://api.github.com/users/GitTools/events{/privacy}","received_events_url":"https://api.github.com/users/GitTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GitTools/GitVersion","description":"Easy Semantic Versioning (http://semver.org) for projects using Git","fork":false,"url":"https://api.github.com/repos/GitTools/GitVersion","forks_url":"https://api.github.com/repos/GitTools/GitVersion/forks","keys_url":"https://api.github.com/repos/GitTools/GitVersion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GitTools/GitVersion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GitTools/GitVersion/teams","hooks_url":"https://api.github.com/repos/GitTools/GitVersion/hooks","issue_events_url":"https://api.github.com/repos/GitTools/GitVersion/issues/events{/number}","events_url":"https://api.github.com/repos/GitTools/GitVersion/events","assignees_url":"https://api.github.com/repos/GitTools/GitVersion/assignees{/user}","branches_url":"https://api.github.com/repos/GitTools/GitVersion/branches{/branch}","tags_url":"https://api.github.com/repos/GitTools/GitVersion/tags","blobs_url":"https://api.github.com/repos/GitTools/GitVersion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GitTools/GitVersion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GitTools/GitVersion/git/refs{/sha}","trees_url":"https://api.github.com/repos/GitTools/GitVersion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GitTools/GitVersion/statuses/{sha}","languages_url":"https://api.github.com/repos/GitTools/GitVersion/languages","stargazers_url":"https://api.github.com/repos/GitTools/GitVersion/stargazers","contributors_url":"https://api.github.com/repos/GitTools/GitVersion/contributors","subscribers_url":"https://api.github.com/repos/GitTools/GitVersion/subscribers","subscription_url":"https://api.github.com/repos/GitTools/GitVersion/subscription","commits_url":"https://api.github.com/repos/GitTools/GitVersion/commits{/sha}","git_commits_url":"https://api.github.com/repos/GitTools/GitVersion/git/commits{/sha}","comments_url":"https://api.github.com/repos/GitTools/GitVersion/comments{/number}","issue_comment_url":"https://api.github.com/repos/GitTools/GitVersion/issues/comments{/number}","contents_url":"https://api.github.com/repos/GitTools/GitVersion/contents/{+path}","compare_url":"https://api.github.com/repos/GitTools/GitVersion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GitTools/GitVersion/merges","archive_url":"https://api.github.com/repos/GitTools/GitVersion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GitTools/GitVersion/downloads","issues_url":"https://api.github.com/repos/GitTools/GitVersion/issues{/number}","pulls_url":"https://api.github.com/repos/GitTools/GitVersion/pulls{/number}","milestones_url":"https://api.github.com/repos/GitTools/GitVersion/milestones{/number}","notifications_url":"https://api.github.com/repos/GitTools/GitVersion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GitTools/GitVersion/labels{/name}","releases_url":"https://api.github.com/repos/GitTools/GitVersion/releases{/id}","deployments_url":"https://api.github.com/repos/GitTools/GitVersion/deployments","created_at":"2013-08-27T07:30:20Z","updated_at":"2016-10-26T14:30:55Z","pushed_at":"2016-10-27T12:14:32Z","git_url":"git://github.com/GitTools/GitVersion.git","ssh_url":"git@github.com:GitTools/GitVersion.git","clone_url":"https://github.com/GitTools/GitVersion.git","svn_url":"https://github.com/GitTools/GitVersion","homepage":"http://gitversion.readthedocs.org/en/latest/","size":8569,"stargazers_count":553,"watchers_count":553,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":193,"mirror_url":null,"open_issues_count":119,"forks":193,"open_issues":119,"watchers":553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070"},"html":{"href":"https://github.com/GitTools/GitVersion/pull/1070"},"issue":{"href":"https://api.github.com/repos/GitTools/GitVersion/issues/1070"},"comments":{"href":"https://api.github.com/repos/GitTools/GitVersion/issues/1070/comments"},"review_comments":{"href":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070/comments"},"review_comment":{"href":"https://api.github.com/repos/GitTools/GitVersion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GitTools/GitVersion/pulls/1070/commits"},"statuses":{"href":"https://api.github.com/repos/GitTools/GitVersion/statuses/75230439f85d21feff7cb96ee972fa2160705809"}}}}
{"actor":{"display_login":"asbjornu"}}