lib/redmine/scm/adapters/undev_git_adapter.rb
# extract branches from git log format: (HEAD, master)
# reject tags from branches
extract branches from git log format: (HEAD, master)
reject tags from branches
extract branches from git log format : ( HEAD master ) reject tags from branches
def extract_branches(decorate, remove_head = true)
      return [] if decorate.blank?
      decorate.strip[1...-1].split(', ').
        reject { |b| remove_head && b == 'HEAD' || b =~ /^tag:\s/ }
    end
def extract_branches ( decorate , remove_head = true ) return [ ] if decorate . blank? decorate . strip [ 1 ... - 1 ] . split ( ', ' ) . reject { | b | remove_head && b == 'HEAD' || b =~ / ^tag: \s / } end
extract branches from git log format: (HEAD, master)
reject tags from branches
extract branches from git log format : ( HEAD master ) reject tags from branches
decorate
<not_specific>
remove_head
<not_specific>