mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
Add option --ignore-whitespace
supports for git apply
command
This commit is contained in:
parent
95030c334f
commit
5df377e48e
3 changed files with 23 additions and 6 deletions
|
@ -85,7 +85,8 @@ namespace SourceGit.UI {
|
|||
PopupManager.Lock();
|
||||
|
||||
var mode = combWhitespaceOptions.SelectedItem as WhitespaceOption;
|
||||
await Task.Run(() => repo.Apply(PatchFile, mode.Arg));
|
||||
var ignoreSpaceChanges = chkIgnoreWhitespace.IsChecked == true;
|
||||
await Task.Run(() => repo.Apply(PatchFile, ignoreSpaceChanges, mode.Arg));
|
||||
|
||||
PopupManager.Close(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue