lib/pivotal-integration/util/git.rb in pivotal-integration-1.6.0.1 vs lib/pivotal-integration/util/git.rb in pivotal-integration-1.6.0.2

- old
+ new

@@ -174,10 +174,10 @@ def self.create_pull_request(story) case get_config_with_default('pivotal.pull-request-editor', :web).to_sym when :web # Open the PR editor in a web browser repo = get_config('remote.origin.url')[/(?<=git@github.com:)[a-z0-9_-]+\/[a-z0-9_-]+/] - title = CGI::escape("#{story.name} [##{story.id}]") + title = CGI::escape("[##{story.id}] #{story.name}]") Launchy.open "https://github.com/#{repo}/compare/#{branch_name}?expand=1&pull_request[title]=#{title}" else print 'Checking for hub installation... ' if PivotalIntegration::Util::Shell.exec('which hub', false).empty?