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
132 stars 62 forks source link

View remote branch commits in commit log #46

Closed simoneb closed 11 years ago

simoneb commented 12 years ago

Hello, I noticed that the "View Commit Log" page only shows commits in local branches, while the "View Graph" page shows both local and remote branches.

Is there a reason for it? Would it make sense to provide a consistent view of the repository across the two pages?

otac0n commented 12 years ago

"View Commit Log" shows all commits that have been merged into the HEAD of the repository.

I should add the ability to view the log of any branch.

However, I feel that the view-log view should be limited to one branch at a time.

simoneb commented 12 years ago

Yes, it makes sense. What if the repo is bare, iow, you don't have any local branches checked out?

otac0n commented 12 years ago

Bare repos still have a HEAD, but the long term solution is to let you pick a branch from this page.

simoneb commented 12 years ago

Yes, it would be a nice addition. Thanks

otac0n commented 11 years ago

This is now in default.

simoneb commented 11 years ago

Thanks!