File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace SourceGit.ViewModels
66 public class CreateBranch : Popup
77 {
88 [ Required ( ErrorMessage = "Branch name is required!" ) ]
9- [ RegularExpression ( @"^[\w\-/\.]+$" , ErrorMessage = "Bad branch name format!" ) ]
9+ [ RegularExpression ( @"^[\w\-/\.# ]+$" , ErrorMessage = "Bad branch name format!" ) ]
1010 [ CustomValidation ( typeof ( CreateBranch ) , nameof ( ValidateBranchName ) ) ]
1111 public string Name
1212 {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace SourceGit.ViewModels
66 public class GitFlowStart : Popup
77 {
88 [ Required ( ErrorMessage = "Name is required!!!" ) ]
9- [ RegularExpression ( @"^[\w\-/\.]+$" , ErrorMessage = "Bad branch name format!" ) ]
9+ [ RegularExpression ( @"^[\w\-/\.# ]+$" , ErrorMessage = "Bad branch name format!" ) ]
1010 [ CustomValidation ( typeof ( GitFlowStart ) , nameof ( ValidateBranchName ) ) ]
1111 public string Name
1212 {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public Models.Branch Target
1212 }
1313
1414 [ Required ( ErrorMessage = "Branch name is required!!!" ) ]
15- [ RegularExpression ( @"^[\w\-/\.]+$" , ErrorMessage = "Bad branch name format!" ) ]
15+ [ RegularExpression ( @"^[\w\-/\.# ]+$" , ErrorMessage = "Bad branch name format!" ) ]
1616 [ CustomValidation ( typeof ( RenameBranch ) , nameof ( ValidateBranchName ) ) ]
1717 public string Name
1818 {
You can’t perform that action at this time.
0 commit comments