enhance: show untracked submodules in unstaged (#393)

This commit is contained in:
leo 2024-08-22 14:10:32 +08:00
parent d5e51d1f32
commit 8b469e7778
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View file

@ -87,6 +87,14 @@ namespace SourceGit.ViewModels
private void LoadDiffContent()
{
if (_option.Path.EndsWith('/'))
{
Content = null;
IsTextDiff = false;
IsLoading = false;
return;
}
var unified = Preference.Instance.DiffViewVisualLineNumbers;
Task.Run(() =>
{