mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
enhance: double-click commit in histories of a bare repository
This commit is contained in:
parent
a112d212dc
commit
5acc6e6928
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue