Skip to content

Commit 5acc6e6

Browse files
committed
enhance: double-click commit in histories of a bare repository
1 parent a112d21 commit 5acc6e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/Histories.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public void DoubleTapped(Models.Commit commit)
213213
{
214214
if (firstRemoteBranch != null)
215215
_repo.ShowPopup(new CreateBranch(_repo, firstRemoteBranch));
216-
else
216+
else if (!_repo.IsBare)
217217
_repo.ShowPopup(new CheckoutCommit(_repo, commit));
218218
}
219219
}

0 commit comments

Comments
 (0)