mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: do not show /dev/null
in DiffView for new file
This commit is contained in:
parent
65ccc9fc7b
commit
37f5472186
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ namespace SourceGit.ViewModels
|
||||||
|
|
||||||
Dispatcher.UIThread.Post(() =>
|
Dispatcher.UIThread.Post(() =>
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(_option.OrgPath))
|
if (string.IsNullOrEmpty(_option.OrgPath) || _option.OrgPath == "/dev/null")
|
||||||
Title = _option.Path;
|
Title = _option.Path;
|
||||||
else
|
else
|
||||||
Title = $"{_option.OrgPath} → {_option.Path}";
|
Title = $"{_option.OrgPath} → {_option.Path}";
|
||||||
|
|
Loading…
Reference in a new issue