mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
Adding checkout commit menu and dialog
This commit is contained in:
parent
b0c00340a8
commit
8aa1690cde
7 changed files with 181 additions and 0 deletions
|
@ -722,6 +722,14 @@ namespace SourceGit.ViewModels
|
|||
PopupHost.ShowAndStartPopup(new Checkout(this, branch));
|
||||
}
|
||||
|
||||
public void CheckoutCommit(string commit)
|
||||
{
|
||||
if (!PopupHost.CanCreatePopup())
|
||||
return;
|
||||
|
||||
PopupHost.ShowPopup(new CheckoutCommit(this, commit));
|
||||
}
|
||||
|
||||
public void CreateNewTag()
|
||||
{
|
||||
var current = Branches.Find(x => x.IsCurrent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue