mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-15 00:18:18 -08:00
19 lines
415 B
C#
19 lines
415 B
C#
namespace SourceGit.ViewModels
|
|
{
|
|
public class ConfirmCommitWithoutFiles
|
|
{
|
|
public ConfirmCommitWithoutFiles(WorkingCopy wc, bool autoPush)
|
|
{
|
|
_wc = wc;
|
|
_autoPush = autoPush;
|
|
}
|
|
|
|
public void Continue()
|
|
{
|
|
_wc.CommitWithoutFiles(_autoPush);
|
|
}
|
|
|
|
private readonly WorkingCopy _wc;
|
|
private bool _autoPush;
|
|
}
|
|
}
|