mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 16:05:00 +00:00
enhance: unified all file-path normalization - use char-replace, trim trailing slash
This commit is contained in:
parent
54c05ac35a
commit
88c38b4139
8 changed files with 15 additions and 17 deletions
|
@ -13,7 +13,7 @@ namespace SourceGit.ViewModels
|
|||
get => _id;
|
||||
set
|
||||
{
|
||||
var normalized = value.Replace('\\', '/');
|
||||
var normalized = value.Replace('\\', '/').TrimEnd('/');
|
||||
SetProperty(ref _id, normalized);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue