Skip to content

Commit

Permalink
Alias head_count to branch_count.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanvda committed Jun 3, 2012
1 parent 27f17f6 commit cbe9a70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/grit/repo.rb
Expand Up @@ -218,6 +218,7 @@ def head_count
end

alias_method :branches, :heads
alias_method :branch_count, :head_count

def get_head(head_name)
heads.find { |h| h.name == head_name }
Expand Down

0 comments on commit cbe9a70

Please sign in to comment.