• Jeff Stubler's avatar
    Fix diverging commit count calculation · 2e8ec7e7
    Jeff Stubler authored
    Rugged seemed to stop accepting branch names as valid refs, throwing `Rugged::ReferenceError` exceptions. Now the branch target rather than branch name is used, and the default branch's hash is also calculated, and these work properly.
    
    This used to work and might be something worth re-investigating in the future.
    2e8ec7e7
repository.rb 15 KB