feature: branch name allows spaces and auto replace spaces with dashes (#917)

This commit is contained in:
leo 2025-01-24 12:10:56 +08:00
parent ab080b53b1
commit 37c4545875
No known key found for this signature in database
6 changed files with 35 additions and 10 deletions

View file

@ -78,5 +78,8 @@ namespace SourceGit.Converters
return v.Substring(13);
return v;
});
public static readonly FuncValueConverter<string, bool> ContainsSpaces =
new FuncValueConverter<string, bool>(v => v != null && v.Contains(' '));
}
}