mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 03:40:45 +08:00
- use a single filter for both unstage and staged files - show confirm dialog if staged files are displayed partially Signed-off-by: leo <longshuang@msn.cn>
27 lines
446 B
C#
27 lines
446 B
C#
using System;
|
|
|
|
namespace SourceGit.ViewModels
|
|
{
|
|
public class ConfirmCommit
|
|
{
|
|
public string Message
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
|
|
public ConfirmCommit(string message, Action onSure)
|
|
{
|
|
Message = message;
|
|
_onSure = onSure;
|
|
}
|
|
|
|
public void Continue()
|
|
{
|
|
_onSure?.Invoke();
|
|
}
|
|
|
|
private Action _onSure;
|
|
}
|
|
}
|