lib/rim/git.rb in esr-rim-1.3.3 vs lib/rim/git.rb in esr-rim-1.3.4

- old
+ new

@@ -90,10 +90,10 @@ # returns the current branch def current_branch out = execute "git branch" out.split("\n").each do |l| - if l =~ /^\*\s+(\S+)/ + if !l.include?('(') && (l =~ /^\*\s+(\S+)/) return $1 end end nil end