mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
enhance: double-click commit in histories of a bare repository
This commit is contained in:
@@ -213,7 +213,7 @@ namespace SourceGit.ViewModels
|
||||
{
|
||||
if (firstRemoteBranch != null)
|
||||
_repo.ShowPopup(new CreateBranch(_repo, firstRemoteBranch));
|
||||
else
|
||||
else if (!_repo.IsBare)
|
||||
_repo.ShowPopup(new CheckoutCommit(_repo, commit));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user