mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
fix: set FileModeChange after RefreshAll (#1043)
This commit is contained in:
parent
9dffd55c2b
commit
72c7f24e2f
1 changed files with 3 additions and 0 deletions
|
@ -116,7 +116,10 @@ namespace SourceGit.ViewModels
|
|||
var latest = new Commands.Diff(_repo, _option, numLines, _ignoreWhitespace).Result();
|
||||
var info = new Info(_option, numLines, _ignoreWhitespace, latest);
|
||||
if (_info != null && info.IsSame(_info))
|
||||
{
|
||||
FileModeChange = latest.FileModeChange;
|
||||
return;
|
||||
}
|
||||
|
||||
_info = info;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue