otac0n / WebGitNet

WebGit .NET is an ASP.NET MVC app that provides access to your git repositories over HTTP. It supports browsing in a web browser AND push / pull over Git's "Smart HTTP protocol".
zlib License
133 stars 62 forks source link

Correct browsing commits on a selected branch. #66

Closed gregsohl closed 11 years ago

gregsohl commented 11 years ago

The selected branch information was not being passed to CountCommits, which could cause it to return zero when there is no Master / default branch. Then, a 404 error was returned. Passed @object (the branch name) into the optional parameter on CountCommits call.