• Yorick Peterse's avatar
    Dedicated method for counting commits between refs · b263ab61
    Yorick Peterse authored
    gitlab_git 8.1 adds the ability to count the amount of commits between
    two references without having to allocate anything but regular
    Rugged::Commit objects. This in turn speeds up the process of counting
    the number of commits a branch is ahead/behind by about 3.5x.
    b263ab61
repository.rb 16.3 KB