mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-17 16:34:59 +00:00
feature: branch name allows spaces and auto replace spaces with dashes (#917)
This commit is contained in:
parent
ab080b53b1
commit
37c4545875
6 changed files with 35 additions and 10 deletions
|
@ -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(' '));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue