mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: stage/unstage hunk (#265)
This commit is contained in:
parent
b9ed0987eb
commit
b7e0e38de3
18 changed files with 688 additions and 120 deletions
|
@ -17,10 +17,17 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _syncScrollOffset, value);
|
||||
}
|
||||
|
||||
public Models.DiffOption Option
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public TwoSideTextDiff(Models.TextDiff diff, TwoSideTextDiff previous = null)
|
||||
{
|
||||
File = diff.File;
|
||||
MaxLineNumber = diff.MaxLineNumber;
|
||||
Option = diff.Option;
|
||||
|
||||
foreach (var line in diff.Lines)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue