public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
bugfix - only prompt for remote branches that match the specified remote
timcharper (author)
Fri Apr 04 22:03:11 -0700 2008
commit  804cec67852bdf1c5cecccf02596ea96eb9f9e7c
tree    c56871a189755c9a599c03223ecf2cb6cfcc2773
parent  6f481eb2d9c241e6455364f1590c97424b9949e9
...
75
76
77
78
 
79
80
81
...
75
76
77
 
78
79
80
81
0
@@ -75,7 +75,7 @@ class RemoteController < ApplicationController
0
   
0
   protected
0
     def setup_auto_merge(source, branch)
0
- remote_branches = git.branch.list_names(:remote).with_this_at_front(/(\/|^)#{branch.name}$/)
0
+ remote_branches = git.branch.list_names(:remote, :remote_name => source ).with_this_at_front(/(\/|^)#{branch.name}$/)
0
       remote_branch_name = TextMate::UI.request_item(:title => "Branch to merge from?", :prompt => "Merge which branch to '#{branch.name}'?", :items => remote_branches, :force_pick => true)
0
       if remote_branch_name.nil? || remote_branch_name.empty?
0
         puts "Aborted"

Comments

    No one has commented yet.