mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14: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 latest = new Commands.Diff(_repo, _option, numLines, _ignoreWhitespace).Result();
|
||||||
var info = new Info(_option, numLines, _ignoreWhitespace, latest);
|
var info = new Info(_option, numLines, _ignoreWhitespace, latest);
|
||||||
if (_info != null && info.IsSame(_info))
|
if (_info != null && info.IsSame(_info))
|
||||||
|
{
|
||||||
|
FileModeChange = latest.FileModeChange;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
_info = info;
|
_info = info;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue